次の方法で共有


ITextViewLine.EndIncludingLineBreak Property

Gets the position of the first character past the end of the line, including any line break characters.

Namespace:  Microsoft.VisualStudio.Text.Formatting
Assembly:  Microsoft.VisualStudio.Text.UI (in Microsoft.VisualStudio.Text.UI.dll)

Syntax

'宣言
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 position of the first character past the end of the line, including any line break characters.

Remarks

In most cases this property references the first character in the following line, unless this is the last line, in which case it contains a position past the end of the buffer.

.NET Framework Security

See Also

Reference

ITextViewLine Interface

Microsoft.VisualStudio.Text.Formatting Namespace