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
.NET
フィードバック
https://aka.ms/ContentUserFeedback」を参照してください。
以下は間もなく提供いたします。2024 年を通じて、コンテンツのフィードバック メカニズムとして GitHub の issue を段階的に廃止し、新しいフィードバック システムに置き換えます。 詳細については、「フィードバックの送信と表示