Namespace: Microsoft.VisualStudio.Package
Assembly: Microsoft.VisualStudio.Package.LanguageService (in Microsoft.VisualStudio.Package.LanguageService.dll)
Syntax
'宣言
Private Function UpdateLanguageContext ( _
dwHint As UInteger, _
buffer As IVsTextLines, _
ptsSelection As TextSpan(), _
ptr As Object _
) As Integer Implements IVsLanguageContextProvider.UpdateLanguageContext
'使用
Dim instance As LanguageService
Dim dwHint As UInteger
Dim buffer As IVsTextLines
Dim ptsSelection As TextSpan()
Dim ptr As Object
Dim returnValue As Integer
returnValue = CType(instance, IVsLanguageContextProvider).UpdateLanguageContext(dwHint, _
buffer, ptsSelection, ptr)
int IVsLanguageContextProvider.UpdateLanguageContext(
uint dwHint,
IVsTextLines buffer,
TextSpan[] ptsSelection,
Object ptr
)
private:
virtual int UpdateLanguageContext(
unsigned int dwHint,
IVsTextLines^ buffer,
array<TextSpan>^ ptsSelection,
Object^ ptr
) sealed = IVsLanguageContextProvider::UpdateLanguageContext
JScript does not support explicit interface implementations.
Parameters
- dwHint
Type: System.UInt32
- ptsSelection
Type: []
- ptr
Type: System.Object
Return Value
Type: System.Int32
Implements
IVsLanguageContextProvider.UpdateLanguageContext(UInt32, IVsTextLines, [], Object)
Permissions
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.