IScrollMapFactoryService.Create 方法 (ITextView, Boolean)

创建或重用指定 ITextView 的现有滚动映射。

命名空间:  Microsoft.VisualStudio.Text.Editor
程序集:  Microsoft.VisualStudio.Text.UI(在 Microsoft.VisualStudio.Text.UI.dll 中)

语法

声明
Function Create ( _
    textView As ITextView, _
    areElisionsExpanded As Boolean _
) As IScrollMap
IScrollMap Create(
    ITextView textView,
    bool areElisionsExpanded
)
IScrollMap^ Create(
    ITextView^ textView, 
    bool areElisionsExpanded
)
abstract Create : 
        textView:ITextView * 
        areElisionsExpanded:bool -> IScrollMap
function Create(
    textView : ITextView, 
    areElisionsExpanded : boolean
) : IScrollMap

参数

  • areElisionsExpanded
    类型:Boolean

    true ,如果此滚动映射操作,如同展开所有省音一样,否则 false使用的坐标系。

返回值

类型:Microsoft.VisualStudio.Text.Editor.IScrollMap
textView 的 IScrollMap

.NET Framework 安全性

请参阅

参考

IScrollMapFactoryService 接口

Create 重载

Microsoft.VisualStudio.Text.Editor 命名空间