IClassificationFormatMapService 介面
查詢指定檢視的分類格式對應。
命名空間: Microsoft.VisualStudio.Text.Classification
組件: Microsoft.VisualStudio.Text.UI.Wpf (在 Microsoft.VisualStudio.Text.UI.Wpf.dll 中)
語法
'宣告
Public Interface IClassificationFormatMapService
public interface IClassificationFormatMapService
public interface class IClassificationFormatMapService
type IClassificationFormatMapService = interface end
public interface IClassificationFormatMapService
方法
名稱 | 描述 | |
---|---|---|
![]() |
GetClassificationFormatMap(String) | 取得指定外觀類別的 IClassificationFormatMap。 |
![]() |
GetClassificationFormatMap(ITextView) | 取得指定的文字檢視所適用的 IClassificationFormatMap。此物件可能由多個文字檢視所共用。 |
回頁首
備註
這是 MEF 元件的組件,並應該匯入,如下所示:
[Import] IClassificationFormatMapService formatMap = null;