Compartir a través de


TextLine Struct

Definition

Information about the character boundaries of a single line of text.

public value class TextLine : IEquatable<Microsoft::CodeAnalysis::Text::TextLine>
public readonly struct TextLine : IEquatable<Microsoft.CodeAnalysis.Text.TextLine>
type TextLine = struct
Public Structure TextLine
Implements IEquatable(Of TextLine)
Inheritance
TextLine
Implements

Properties

End

Gets the end position of the line not including the line break.

EndIncludingLineBreak

Gets the end position of the line including the line break.

LineNumber

Gets the zero-based line number.

Span

Gets the line span not including the line break.

SpanIncludingLineBreak

Gets the line span including the line break.

Start

Gets the start position of the line.

Text

Gets the source text.

Methods

Equals(Object)
Equals(TextLine)
FromSpan(SourceText, TextSpan)

Creates a TextLine instance.

GetHashCode()
ToString()

Operators

Equality(TextLine, TextLine)
Inequality(TextLine, TextLine)

Applies to