Partager via


IClassificationFormatMapService.GetClassificationFormatMap Method

Definition

Overloads

GetClassificationFormatMap(ITextView)

Gets an IClassificationFormatMap appropriate for the specified text view. This object is likely to be shared among multiple text views.

GetClassificationFormatMap(String)

Gets a IClassificationFormatMap for the specified appearance category.

GetClassificationFormatMap(ITextView)

Gets an IClassificationFormatMap appropriate for the specified text view. This object is likely to be shared among multiple text views.

public:
 Microsoft::VisualStudio::Text::Classification::IClassificationFormatMap ^ GetClassificationFormatMap(Microsoft::VisualStudio::Text::Editor::ITextView ^ textView);
public:
 Microsoft::VisualStudio::Text::Classification::IClassificationFormatMap ^ GetClassificationFormatMap(Microsoft::VisualStudio::Text::Editor::ITextView ^ textView);
Microsoft::VisualStudio::Text::Classification::IClassificationFormatMap GetClassificationFormatMap(Microsoft::VisualStudio::Text::Editor::ITextView const & textView);
public Microsoft.VisualStudio.Text.Classification.IClassificationFormatMap GetClassificationFormatMap (Microsoft.VisualStudio.Text.Editor.ITextView textView);
abstract member GetClassificationFormatMap : Microsoft.VisualStudio.Text.Editor.ITextView -> Microsoft.VisualStudio.Text.Classification.IClassificationFormatMap
Public Function GetClassificationFormatMap (textView As ITextView) As IClassificationFormatMap

Parameters

textView
ITextView

The view.

Returns

An IClassificationFormatMap for the view.

Applies to

GetClassificationFormatMap(String)

Gets a IClassificationFormatMap for the specified appearance category.

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

Parameters

category
String

The appearance category.

Returns

An IClassificationFormatMap for the category.

Applies to