IClassificationFormatMapService.GetClassificationFormatMap Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.