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
- view
Type: Microsoft.VisualStudio.Text.Editor.ITextView
The view.
Return Value
Type: Microsoft.VisualStudio.Text.Classification.IEditorFormatMap
An IEditorFormatMap for the text 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.