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 安全性
- 完全信任立即呼叫者。這個成員無法供部分信任的程式碼使用。如需詳細資訊,請參閱從部分受信任程式碼使用程式庫。