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.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

See Also

Reference

IVsFontsAndColorsInformation Interface

Microsoft.VisualStudio.Editor Namespace