Partager via


IVsContainedLanguage.GetLanguageServiceID(Guid) Method

Definition

Returns the GUID for the full language service of the contained language.

public:
 int GetLanguageServiceID([Runtime::InteropServices::Out] Guid % pguidLangService);
public int GetLanguageServiceID (out Guid pguidLangService);
abstract member GetLanguageServiceID : Guid -> int
Public Function GetLanguageServiceID (ByRef pguidLangService As Guid) As Integer

Parameters

pguidLangService
Guid

[out] Returns the GUID of the language service of the contained language.

Returns

If successful, returns S_OK; otherwise, returns an error code.

Remarks

COM Signature

From singlefileeditor.idl:

HRESULT GetLanguageServiceID(  
   [out] GUID *pguidLangService  
);  

Applies to