次の方法で共有


IVsTextStorage.Storage_SetLanguageServiceID(Guid) Method

Definition

Sets the language service for the storage.

public:
 int Storage_SetLanguageServiceID(Guid % guidLangService);
public int Storage_SetLanguageServiceID (ref Guid guidLangService);
abstract member Storage_SetLanguageServiceID : Guid -> int
Public Function Storage_SetLanguageServiceID (ByRef guidLangService As Guid) As Integer

Parameters

guidLangService
Guid

[in] 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_SetLanguageServiceID(  
   [in] REFGUID guidLangService  
);  

Applies to