创建或重用指定 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。
备注
坐标系统。此滚动映射返回的行为,就象省略不展开。
.NET Framework 安全性
- 对直接调用方的完全信任。此成员不能由部分信任的代码使用。有关详细信息,请参阅通过部分受信任的代码使用库。