Partager via


ITextViewLine.LineBreakLength Property

Gets the length of the line break sequence (for example, "\r\n") that appears at the end of this line.

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

Syntax

'Declaration
ReadOnly Property LineBreakLength As Integer
int LineBreakLength { get; }
property int LineBreakLength {
    int get ();
}
abstract LineBreakLength : int with get
function get LineBreakLength () : int

Property Value

Type: Int32
A integer in the range [0..2].

Remarks

If this ITextViewLine corresponds to a line that was word-wrapped, then the length of its line break will be zero. The length of the line break will also be zero for the last line in the buffer.

.NET Framework Security

See Also

Reference

ITextViewLine Interface

Microsoft.VisualStudio.Text.Formatting Namespace