TextLine Struct
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
GitHub で Microsoft と共同作業する
このコンテンツのソースは GitHub にあります。そこで、issue や pull request を作成および確認することもできます。 詳細については、共同作成者ガイドを参照してください。
.NET