共用方式為


ITextViewLine.End 屬性

取得超出行尾之第一個字元的位置,但不包括任何分行符號字元。

命名空間:  Microsoft.VisualStudio.Text.Formatting
組件:  Microsoft.VisualStudio.Text.UI (在 Microsoft.VisualStudio.Text.UI.dll 中)

語法

'宣告
ReadOnly Property End As SnapshotPoint
SnapshotPoint End { get; }
property SnapshotPoint End {
    SnapshotPoint get ();
}
abstract End : SnapshotPoint with get
function get End () : SnapshotPoint

屬性值

類型:Microsoft.VisualStudio.Text.SnapshotPoint
結尾的行,不包括任何分行符號字元的第一個字元位置。

備註

在大多數情況下,這個屬性會參考分行符號字元,但緩衝區中的最後一行除外,因為在此情況中,此行會包含超出緩衝區尾端的位置。

.NET Framework 安全性

請參閱

參考

ITextViewLine 介面

Microsoft.VisualStudio.Text.Formatting 命名空間