Freigeben über


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

'Declaration
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

See Also

Reference

IVsContainedLanguage Interface

Microsoft.VisualStudio.TextManager.Interop Namespace