共用方式為


IVsTextStorage.Storage_GetLanguageServiceID(Guid) Method

Definition

Gets the GUID of the language service.

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

Parameters

pguidLangService
Guid

[out] The GUID of the language service.

Returns

If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Remarks

COM Signature

From textmgr.idl:

HRESULT IVsTextStorage::Storage_GetLanguageServiceID(  
   [out] GUID *pguidLangService  
);  

Applies to