共用方式為


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如果座標系統中使用此捲動地圖 act 如同所有的 elisions 已經展開,否則false。

傳回值

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

.NET Framework 安全性

請參閱

參考

IScrollMapFactoryService 介面

Create 多載

Microsoft.VisualStudio.Text.Editor 命名空間