创建或重用指定 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 ,如果此滚动映射操作,如同展开所有省音一样,否则 false使用的坐标系。
返回值
类型:Microsoft.VisualStudio.Text.Editor.IScrollMap
textView 的 IScrollMap。
.NET Framework 安全性
- 对直接调用方的完全信任。此成员不能由部分信任的代码使用。有关详细信息,请参阅通过部分受信任的代码使用库。