IVsFontsAndColorsInformation.AddLanguageService 方法

添加对颜色信息的其他语言服务。

命名空间:  Microsoft.VisualStudio.Editor
程序集:  Microsoft.VisualStudio.Editor(在 Microsoft.VisualStudio.Editor.dll 中)

语法

声明
Sub AddLanguageService ( _
    languageServiceId As Guid _
)
void AddLanguageService(
    Guid languageServiceId
)
void AddLanguageService(
    Guid languageServiceId
)
abstract AddLanguageService : 
        languageServiceId:Guid -> unit
function AddLanguageService(
    languageServiceId : Guid
)

参数

  • languageServiceId
    类型:Guid

    语言服务的 GUID。

备注

,而同一字体和颜色类别的多个缓冲区具有不同的语言服务的 GUID 时,此方法来添加其他颜色源。

.NET Framework 安全性

请参阅

参考

IVsFontsAndColorsInformation 接口

Microsoft.VisualStudio.Editor 命名空间