TextChange.ApplyChange Method
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.
Overloads
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. |
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.
public string ApplyChange(System.Web.Razor.Parser.SyntaxTree.Span span);
member this.ApplyChange : System.Web.Razor.Parser.SyntaxTree.Span -> string
Public Function ApplyChange (span As Span) As String
Parameters
- span
- Span
The span of the text change.
Returns
A string that contains the value of the text.
Applies to
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.
public string ApplyChange(string content, int changeOffset);
member this.ApplyChange : string * int -> string
Public Function ApplyChange (content As String, changeOffset As Integer) As String
Parameters
- content
- String
The content of the text.
- changeOffset
- Int32
The change offset.
Returns
A string that contains the value of the text.