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)

property SnapshotPoint End {
	SnapshotPoint get();
}

Property Value

Type: Microsoft.VisualStudio.Text::SnapshotPoint

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

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.

Return to top
Show: