VsTextBufferClass.SetLanguageServiceID(Guid) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Sets the unique identifier of the language that is providing colorization and other attribute data to the buffer.
public:
virtual int SetLanguageServiceID(Guid % guidLangService) = Microsoft::VisualStudio::TextManager::Interop::IVsTextBuffer::SetLanguageServiceID;
public:
virtual int SetLanguageServiceID(Guid % guidLangService);
public virtual int SetLanguageServiceID (ref Guid guidLangService);
abstract member SetLanguageServiceID : Guid -> int
override this.SetLanguageServiceID : Guid -> int
Public Overridable Function SetLanguageServiceID (ByRef guidLangService As Guid) As Integer
Parameters
- guidLangService
- Guid
[in] Identifier of the language service. Buffers without languages can be CLSID_NULL.
Returns
If the method succeeds, returns S_OK; otherwise, returns an error code.