TextChange 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.
Describes a single change when a particular span is replaced with a new text.
public value class TextChange : IEquatable<Microsoft::CodeAnalysis::Text::TextChange>
public readonly struct TextChange : IEquatable<Microsoft.CodeAnalysis.Text.TextChange>
[System.Diagnostics.DebuggerDisplay("{GetDebuggerDisplay(),nq}")]
[System.Runtime.Serialization.DataContract]
public readonly struct TextChange : IEquatable<Microsoft.CodeAnalysis.Text.TextChange>
type TextChange = struct
[<System.Diagnostics.DebuggerDisplay("{GetDebuggerDisplay(),nq}")>]
[<System.Runtime.Serialization.DataContract>]
type TextChange = struct
Public Structure TextChange
Implements IEquatable(Of TextChange)
- Inheritance
-
TextChange
- Attributes
- Implements
Constructors
TextChange(TextSpan, String) |
Initializes a new instance of TextChange |
Properties
NewText |
The new text. |
NoChanges |
An empty set of changes. |
Span |
The original span of the changed text. |
Methods
Equals(Object) | |
Equals(TextChange) | |
GetHashCode() | |
ToString() |
Provides a string representation for TextChange. |
Operators
Equality(TextChange, TextChange) | |
Implicit(TextChange to TextChangeRange) |
Converts a TextChange to a TextChangeRange. |
Inequality(TextChange, TextChange) |
Applies to
GitHub에서 Microsoft와 공동 작업
이 콘텐츠의 원본은 GitHub에서 찾을 수 있으며, 여기서 문제와 끌어오기 요청을 만들고 검토할 수도 있습니다. 자세한 내용은 참여자 가이드를 참조하세요.
.NET