IClassificationFormatMapService.GetClassificationFormatMap Method (ITextView)
Gets an IClassificationFormatMap appropriate for the specified text view. This object is likely to be shared among multiple text views.
Namespace: Microsoft.VisualStudio.Text.Classification
Assembly: Microsoft.VisualStudio.Text.UI.Wpf (in Microsoft.VisualStudio.Text.UI.Wpf.dll)
Syntax
'宣言
Function GetClassificationFormatMap ( _
textView As ITextView _
) As IClassificationFormatMap
IClassificationFormatMap GetClassificationFormatMap(
ITextView textView
)
IClassificationFormatMap^ GetClassificationFormatMap(
ITextView^ textView
)
abstract GetClassificationFormatMap :
textView:ITextView -> IClassificationFormatMap
function GetClassificationFormatMap(
textView : ITextView
) : IClassificationFormatMap
Parameters
- textView
Type: Microsoft.VisualStudio.Text.Editor.ITextView
The view.
Return Value
Type: Microsoft.VisualStudio.Text.Classification.IClassificationFormatMap
An IClassificationFormatMap for the view.
.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.
See Also
Reference
IClassificationFormatMapService Interface