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

'Déclaration
Function GetLanguageServiceID ( _
    <OutAttribute> ByRef pguidLangService As Guid _
) As Integer
'Utilisation
Dim instance As IVsContainedLanguage
Dim pguidLangService As Guid
Dim returnValue As Integer

returnValue = instance.GetLanguageServiceID(pguidLangService)
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

IVsContainedLanguage Members

Microsoft.VisualStudio.TextManager.Interop Namespace