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 _
)
void OnNewLanguageService(
ref Guid sidLangServiceID
)
void OnNewLanguageService(
[InAttribute] Guid% sidLangServiceID
)
abstract OnNewLanguageService :
sidLangServiceID:Guid byref -> unit
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
);
.NET Framework Security
- 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.