次の方法で共有


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

Return Value

Type: Microsoft.VisualStudio.Text.Classification.IClassificationFormatMap
An IClassificationFormatMap for the view.

.NET Framework Security

See Also

Reference

IClassificationFormatMapService Interface

GetClassificationFormatMap Overload

Microsoft.VisualStudio.Text.Classification Namespace