共用方式為


ITextSnapshotLine.EndIncludingLineBreak Property

Definition

The SnapshotPoint of the first character past the end of the line, including any line break characters (thus will address the first character in the succeeding line, unless this is the last line, in which case it addresses a position past the end of the buffer).

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

Property Value

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.

Applies to