IEditorFormatMapService.GetEditorFormatMap 方法 (String)

获取给定外观类别的 IEditorFormatMap

命名空间:  Microsoft.VisualStudio.Text.Classification
程序集:  Microsoft.VisualStudio.Text.UI.Wpf(在 Microsoft.VisualStudio.Text.UI.Wpf.dll 中)

语法

声明
Function GetEditorFormatMap ( _
    category As String _
) As IEditorFormatMap
IEditorFormatMap GetEditorFormatMap(
    string category
)
IEditorFormatMap^ GetEditorFormatMap(
    String^ category
)
abstract GetEditorFormatMap : 
        category:string -> IEditorFormatMap
function GetEditorFormatMap(
    category : String
) : IEditorFormatMap

参数

  • category
    类型:String

    外观类别。

返回值

类型:Microsoft.VisualStudio.Text.Classification.IEditorFormatMap
类别的 IEditorFormatMap

.NET Framework 安全性

请参阅

参考

IEditorFormatMapService 接口

GetEditorFormatMap 重载

Microsoft.VisualStudio.Text.Classification 命名空间