ITextSnapshotLine.End Property

Definition

The SnapshotPoint of the first character past the end of the line, excluding any line break characters (thus will address a line break character, except for the last line in the buffer, in which case it addresses a position past the end of the buffer).

public:
 property Microsoft::VisualStudio::Text::SnapshotPoint End { Microsoft::VisualStudio::Text::SnapshotPoint get(); };
public Microsoft.VisualStudio.Text.SnapshotPoint End { get; }
member this.End : Microsoft.VisualStudio.Text.SnapshotPoint
Public ReadOnly Property End As SnapshotPoint

Property Value

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.

Applies to