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
參數
textView
類型:Microsoft.VisualStudio.Text.Editor.ITextView要取得 IScrollMap 的 ITextView。
areElisionsExpanded
類型:Booleantrue如果座標系統中使用此捲動地圖 act 如同所有的 elisions 已經展開,否則false。
傳回值
類型:Microsoft.VisualStudio.Text.Editor.IScrollMap
textView 的 IScrollMap。
.NET Framework 安全性
- 完全信任立即呼叫者。這個成員無法供部分信任的程式碼使用。如需詳細資訊,請參閱從部分受信任程式碼使用程式庫。