Share via


ITextSnapshotLine.End Property

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

Namespace:  Microsoft.VisualStudio.Text
Assembly:  Microsoft.VisualStudio.Text.Data (in Microsoft.VisualStudio.Text.Data.dll)

Syntax

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

Property Value

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

Remarks

This method returns a line break character except for the last line in the buffer, in which case it returns a position past the end of the buffer.

.NET Framework Security

See Also

Reference

ITextSnapshotLine Interface

Microsoft.VisualStudio.Text Namespace