共用方式為


ITextViewLine.LineBreakLength Property

Definition

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

public:
 property int LineBreakLength { int get(); };
public:
 property int LineBreakLength { int get(); };
public int LineBreakLength { get; }
member this.LineBreakLength : int
Public ReadOnly Property LineBreakLength As Integer

Property Value

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.

Applies to