IVsTextBufferEvents.OnNewLanguageService Method
Notifies the client when a new language service is associated with a buffer.
Namespace: Microsoft.VisualStudio.TextManager.Interop
Assembly: Microsoft.VisualStudio.TextManager.Interop (in Microsoft.VisualStudio.TextManager.Interop.dll)
Syntax
'宣言
Sub OnNewLanguageService ( _
ByRef sidLangServiceID As Guid _
)
'使用
Dim instance As IVsTextBufferEvents
Dim sidLangServiceID As Guid
instance.OnNewLanguageService(sidLangServiceID)
void OnNewLanguageService(
ref Guid sidLangServiceID
)
void OnNewLanguageService(
[InAttribute] Guid% sidLangServiceID
)
function OnNewLanguageService(
sidLangServiceID : Guid
)
Parameters
sidLangServiceID
Type: System.Guid%[in] Reference ID of the new language service.
Remarks
COM Signature
From textmgr.idl:
HRESULT IVsTextBufferEvents::OnNewLanguageService(
[in] REFGUID sidLangServiceID
);
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.