IScrollMapFactoryService.Create 方法 (ITextView)
為指定的 ITextView 建立或重複使用現有的捲動對應。
命名空間: Microsoft.VisualStudio.Text.Editor
組件: Microsoft.VisualStudio.Text.UI (在 Microsoft.VisualStudio.Text.UI.dll 中)
語法
'宣告
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
參數
textView
類型:Microsoft.VisualStudio.Text.Editor.ITextView要取得 IScrollMap 的 ITextView。
傳回值
類型:Microsoft.VisualStudio.Text.Editor.IScrollMap
textView 的 IScrollMap。
備註
傳回此捲軸對應的座標系統的行為就好像 elisions 不會展開。
.NET Framework 安全性
- 完全信任立即呼叫者。這個成員無法供部分信任的程式碼使用。如需詳細資訊,請參閱從部分受信任程式碼使用程式庫。