共用方式為


VsTextLineStorageClass.Storage_SetLanguageServiceID(Guid) Method

Definition

Sets the language service for the storage.

public:
 virtual int Storage_SetLanguageServiceID(Guid % guidLangService) = Microsoft::VisualStudio::TextManager::Interop::IVsTextStorage::Storage_SetLanguageServiceID;
public:
 virtual int Storage_SetLanguageServiceID(Guid % guidLangService);
public virtual int Storage_SetLanguageServiceID (ref Guid guidLangService);
abstract member Storage_SetLanguageServiceID : Guid -> int
override this.Storage_SetLanguageServiceID : Guid -> int
Public Overridable 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.

Implements

Applies to