ITextSnapshotLine.EndIncludingLineBreak Property

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

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

Syntax

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

Property Value

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

Remarks

This method returns the first character in the next line unless this is the last line, 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