TextChange Structure
This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.
Describes a text change operation.
Namespace: System.Web.Razor.Text
Assembly: System.Web.Razor (in System.Web.Razor.dll)
Syntax
'Declaration
Public Structure TextChange
'Usage
Dim instance As TextChange
public struct TextChange
public value class TextChange
[<SealedAttribute>]
type TextChange = struct end
JScript suports the use of structures, but not the declaration of new ones.
The TextChange type exposes the following members.
Constructors
Name | Description | |
---|---|---|
![]() |
TextChange | This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Initializes a new instance of the TextChange class. |
Top
Properties
Name | Description | |
---|---|---|
![]() |
IsDelete | This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Gets a value that indicates whether this text change is a delete. |
![]() |
IsInsert | This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Gets a value that indicates whether this text change is an insert. |
![]() |
IsReplace | This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Gets a value that indicates whether this text change is a replace. |
![]() |
NewBuffer | This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Gets or sets a new text buffer. |
![]() |
NewLength | This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Gets or sets the length of the new text. |
![]() |
NewPosition | This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Gets or sets the position of the text change in the snapshot immediately after the change. |
![]() |
NewText | This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Gets or sets the text that replaced the old text. |
![]() |
OldBuffer | This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Gets or sets an old text buffer. |
![]() |
OldLength | This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Gets or sets the length of the old text. |
![]() |
OldPosition | This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Gets or sets the position of the text change in the snapshot immediately before the change. |
![]() |
OldText | This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Gets or sets the text that was replaced. |
Top
Methods
Name | Description | |
---|---|---|
![]() |
ApplyChange(Span) | This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Applies the specified text change. |
![]() |
ApplyChange(String, Int32) | This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Applies the specified text change. |
![]() |
Equals | This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Determines whether the specified object is equal to the current object. (Overrides ValueType.Equals(Object).) |
![]() |
GetHashCode | This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Gets the hash code for this text change. (Overrides ValueType.GetHashCode().) |
![]() |
GetType | (Inherited from Object.) |
![]() |
Normalize | This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Returns a normalized value of this text change. |
![]() |
ToString | This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Returns a string representation of the text change. (Overrides ValueType.ToString().) |
Top
Operators
Name | Description | |
---|---|---|
![]() ![]() |
Equality | This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Determines whether the two text change are equal. |
![]() ![]() |
Inequality | This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Determines whether the two text change are not equal. |
Top
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.