Click or drag to resize

TextLine Class



Information about the character boundaries of a single line of text.
Inheritance Hierarchy
SystemValueType
  Microsoft.CodeAnalysis.TextTextLine

Namespace:  Microsoft.CodeAnalysis.Text
Assembly:  Microsoft.CodeAnalysis (in Microsoft.CodeAnalysis.dll) Version: 2.3.0-dev-56735-00. Commit Hash: <developer build>
Syntax
public sealed class TextLine : ValueType, 
	IEquatable

The TextLine type exposes the following members.

Properties
  NameDescription
Public propertyEnd
Gets the end position of the line not including the line break.
Public propertyEndIncludingLineBreak
Gets the end position of the line including the line break.
Public propertyLineNumber
Gets the zero-based line number.
Public propertySpan
Gets the line span not including the line break.
Public propertySpanIncludingLineBreak
Gets the line span including the line break.
Public propertyStart
Gets the start position of the line.
Public propertyText
Gets the source text.
Top
Methods
  NameDescription
Public methodEquals(Object)
Public methodEquals(TextLine)
Public methodStatic memberFromSpan
Creates a TextLine instance.
Public methodGetHashCode
Public methodToString
Top
Operators
  NameDescription
Public operatorStatic memberEquality
Public operatorStatic memberInequality
Top
See Also