Freigeben über


IEditorFormatMapService.GetEditorFormatMap Method

Definition

Overloads

GetEditorFormatMap(ITextView)

Gets an IEditorFormatMap appropriate for a given text view. This object is likely to be shared among several text views.

GetEditorFormatMap(String)

Get a IEditorFormatMap for a given appearance category.

GetEditorFormatMap(ITextView)

Gets an IEditorFormatMap appropriate for a given text view. This object is likely to be shared among several text views.

public:
 Microsoft::VisualStudio::Text::Classification::IEditorFormatMap ^ GetEditorFormatMap(Microsoft::VisualStudio::Text::Editor::ITextView ^ view);
public:
 Microsoft::VisualStudio::Text::Classification::IEditorFormatMap ^ GetEditorFormatMap(Microsoft::VisualStudio::Text::Editor::ITextView ^ view);
Microsoft::VisualStudio::Text::Classification::IEditorFormatMap GetEditorFormatMap(Microsoft::VisualStudio::Text::Editor::ITextView const & view);
public Microsoft.VisualStudio.Text.Classification.IEditorFormatMap GetEditorFormatMap (Microsoft.VisualStudio.Text.Editor.ITextView view);
abstract member GetEditorFormatMap : Microsoft.VisualStudio.Text.Editor.ITextView -> Microsoft.VisualStudio.Text.Classification.IEditorFormatMap
Public Function GetEditorFormatMap (view As ITextView) As IEditorFormatMap

Parameters

view
ITextView

The view.

Returns

An IEditorFormatMap for the text view.

Applies to

GetEditorFormatMap(String)

Get a IEditorFormatMap for a given appearance category.

public:
 Microsoft::VisualStudio::Text::Classification::IEditorFormatMap ^ GetEditorFormatMap(System::String ^ category);
public:
 Microsoft::VisualStudio::Text::Classification::IEditorFormatMap ^ GetEditorFormatMap(Platform::String ^ category);
Microsoft::VisualStudio::Text::Classification::IEditorFormatMap GetEditorFormatMap(std::wstring const & category);
public Microsoft.VisualStudio.Text.Classification.IEditorFormatMap GetEditorFormatMap (string category);
abstract member GetEditorFormatMap : string -> Microsoft.VisualStudio.Text.Classification.IEditorFormatMap
Public Function GetEditorFormatMap (category As String) As IEditorFormatMap

Parameters

category
String

The appearance category.

Returns

An IEditorFormatMap for the category.

Applies to