IVsFontsAndColorsInformation.GetClassificationType 方法
取得由語言服務的類別器,可設定色彩的項目中指定索引處型別。
命名空間: Microsoft.VisualStudio.Editor
組件: Microsoft.VisualStudio.Editor (在 Microsoft.VisualStudio.Editor.dll 中)
語法
'宣告
Function GetClassificationType ( _
colorableItemIndex As Integer _
) As IClassificationType
IClassificationType GetClassificationType(
int colorableItemIndex
)
IClassificationType^ GetClassificationType(
int colorableItemIndex
)
abstract GetClassificationType :
colorableItemIndex:int -> IClassificationType
function GetClassificationType(
colorableItemIndex : int
) : IClassificationType
參數
colorableItemIndex
類型:Int32可設定色彩項目的索引。
傳回值
類型:Microsoft.VisualStudio.Text.Classification.IClassificationType
傳回 IClassificationType。
.NET Framework 安全性
- 完全信任立即呼叫者。這個成員無法供部分信任的程式碼使用。如需詳細資訊,請參閱從部分受信任程式碼使用程式庫。