ITextViewLine.Extent 属性

获取行的范围(不包括任何换行符)。

命名空间:  Microsoft.VisualStudio.Text.Formatting
程序集:  Microsoft.VisualStudio.Text.UI(在 Microsoft.VisualStudio.Text.UI.dll 中)

语法

声明
ReadOnly Property Extent As SnapshotSpan
SnapshotSpan Extent { get; }
property SnapshotSpan Extent {
    SnapshotSpan get ();
}
abstract Extent : SnapshotSpan with get
function get Extent () : SnapshotSpan

属性值

类型:Microsoft.VisualStudio.Text.SnapshotSpan
行的范围(不包括任何换行符)。

.NET Framework 安全性

请参阅

参考

ITextViewLine 接口

Microsoft.VisualStudio.Text.Formatting 命名空间