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
'Declaration
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.GuidThe 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.