IScrollMapFactoryService.Create Method (ITextView)
Creates or reuses an existing scroll map for the specified ITextView.
Namespace: Microsoft.VisualStudio.Text.Editor
Assembly: Microsoft.VisualStudio.Text.UI (in Microsoft.VisualStudio.Text.UI.dll)
Syntax
‘선언
Function Create ( _
textView As ITextView _
) As IScrollMap
IScrollMap Create(
ITextView textView
)
IScrollMap^ Create(
ITextView^ textView
)
abstract Create :
textView:ITextView -> IScrollMap
function Create(
textView : ITextView
) : IScrollMap
Parameters
- textView
Type: Microsoft.VisualStudio.Text.Editor.ITextView
ITextView for which to get an IScrollMap.
Return Value
Type: Microsoft.VisualStudio.Text.Editor.IScrollMap
An IScrollMap for textView.
Remarks
The coordinate system returned by this scroll map behave as though elisions are not expanded.
.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.