共用方式為


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

參數

傳回值

類型:Microsoft.VisualStudio.Text.Classification.IClassificationFormatMap
檢視的 IClassificationFormatMap

.NET Framework 安全性

請參閱

參考

IClassificationFormatMapService 介面

GetClassificationFormatMap 多載

Microsoft.VisualStudio.Text.Classification 命名空間