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) |
Applies the text change to the content of the span and returns the new content. This method doesn't update the span content. |
ApplyChange(String, Int32) |
Applies the text change to the content of the span and returns the new content. This method doesn't update the span content.
public:
System::String ^ ApplyChange(Microsoft::AspNetCore::Razor::Parser::SyntaxTree::Span ^ span);
public string ApplyChange(Microsoft.AspNetCore.Razor.Parser.SyntaxTree.Span span);
member this.ApplyChange : Microsoft.AspNetCore.Razor.Parser.SyntaxTree.Span -> string
Public Function ApplyChange (span As Span) As String
Parameters
- span
- Span
Returns
Applies to
public:
System::String ^ ApplyChange(System::String ^ content, int changeOffset);
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
- changeOffset
- Int32