次の方法で共有


IEditorFormatMapService.GetEditorFormatMap Method (ITextView)

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

Namespace:  Microsoft.VisualStudio.Text.Classification
Assembly:  Microsoft.VisualStudio.Text.UI.Wpf (in Microsoft.VisualStudio.Text.UI.Wpf.dll)

Syntax

'宣言
Function GetEditorFormatMap ( _
    view As ITextView _
) As IEditorFormatMap
IEditorFormatMap GetEditorFormatMap(
    ITextView view
)
IEditorFormatMap^ GetEditorFormatMap(
    ITextView^ view
)
abstract GetEditorFormatMap : 
        view:ITextView -> IEditorFormatMap 
function GetEditorFormatMap(
    view : ITextView
) : IEditorFormatMap

Parameters

Return Value

Type: Microsoft.VisualStudio.Text.Classification.IEditorFormatMap
An IEditorFormatMap for the text view.

.NET Framework Security

See Also

Reference

IEditorFormatMapService Interface

GetEditorFormatMap Overload

Microsoft.VisualStudio.Text.Classification Namespace