IVsFontsAndColorsInformation.AddLanguageService Method
Adds an additional language service that contributes to coloring information.
Namespace: Microsoft.VisualStudio.Editor
Assembly: Microsoft.VisualStudio.Editor (in Microsoft.VisualStudio.Editor.dll)
Syntax
'宣告
Sub AddLanguageService ( _
languageServiceId As Guid _
)
void AddLanguageService(
Guid languageServiceId
)
void AddLanguageService(
Guid languageServiceId
)
abstract AddLanguageService :
languageServiceId:Guid -> unit
function AddLanguageService(
languageServiceId : Guid
)
Parameters
- languageServiceId
Type: System.Guid
The GUID of the language service.
Remarks
This method can be used to add additional color sources when multiple buffers of the same font and color category have different language service GUIDs.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.