共用方式為


ITextViewLine.End Property

Gets the position of the first character past the end of the line, excluding any line break characters.

Namespace:  Microsoft.VisualStudio.Text.Formatting
Assembly:  Microsoft.VisualStudio.Text.UI (in Microsoft.VisualStudio.Text.UI.dll)

Syntax

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

Property Value

Type: Microsoft.VisualStudio.Text.SnapshotPoint
The position of the first character past the end of the line, excluding any line break characters.

Remarks

In most cases this property references a line break character, except for the last line in the buffer, in which case it contains a position past the end of the buffer.

.NET Framework Security

See Also

Reference

ITextViewLine Interface

Microsoft.VisualStudio.Text.Formatting Namespace