IVsContainedLanguage.GetLanguageServiceID Method
Returns the GUID for the full language service of the contained language.
Namespace: Microsoft.VisualStudio.TextManager.Interop
Assembly: Microsoft.VisualStudio.TextManager.Interop.8.0 (in Microsoft.VisualStudio.TextManager.Interop.8.0.dll)
Syntax
‘선언
Function GetLanguageServiceID ( _
<OutAttribute> ByRef pguidLangService As Guid _
) As Integer
int GetLanguageServiceID(
out Guid pguidLangService
)
int GetLanguageServiceID(
[OutAttribute] Guid% pguidLangService
)
abstract GetLanguageServiceID :
pguidLangService:Guid byref -> int
function GetLanguageServiceID(
pguidLangService : Guid
) : int
Parameters
- pguidLangService
Type: System.Guid%
[out] Returns the GUID of the language service of the contained language.
Return Value
Type: System.Int32
If successful, returns S_OK; otherwise, returns an error code.
Remarks
COM Signature
From singlefileeditor.idl:
HRESULT GetLanguageServiceID(
[out] GUID *pguidLangService
);
.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.