IClassificationFormatMapService.GetClassificationFormatMap 方法 (ITextView)
取得指定的文字檢視所適用的 IClassificationFormatMap。 此物件可能由多個文字檢視所共用。
命名空間: Microsoft.VisualStudio.Text.Classification
組件: Microsoft.VisualStudio.Text.UI.Wpf (在 Microsoft.VisualStudio.Text.UI.Wpf.dll 中)
語法
'宣告
Function GetClassificationFormatMap ( _
textView As ITextView _
) As IClassificationFormatMap
IClassificationFormatMap GetClassificationFormatMap(
ITextView textView
)
IClassificationFormatMap^ GetClassificationFormatMap(
ITextView^ textView
)
abstract GetClassificationFormatMap :
textView:ITextView -> IClassificationFormatMap
function GetClassificationFormatMap(
textView : ITextView
) : IClassificationFormatMap
參數
textView
類型:Microsoft.VisualStudio.Text.Editor.ITextView檢視。
傳回值
類型:Microsoft.VisualStudio.Text.Classification.IClassificationFormatMap
檢視的 IClassificationFormatMap。
.NET Framework 安全性
- 完全信任立即呼叫者。這個成員無法供部分信任的程式碼使用。如需詳細資訊,請參閱從部分受信任程式碼使用程式庫。