IEditorFormatMapService.GetEditorFormatMap Method (String)
Get a IEditorFormatMap for a given appearance category.
Namespace: Microsoft.VisualStudio.Text.Classification
Assembly: Microsoft.VisualStudio.Text.UI.Wpf (in Microsoft.VisualStudio.Text.UI.Wpf.dll)
Syntax
'宣言
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
Parameters
- category
Type: System.String
The appearance category.
Return Value
Type: Microsoft.VisualStudio.Text.Classification.IEditorFormatMap
An IEditorFormatMap for the category.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.