共用方式為


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 命名空間