Share via


TextChange.ApplyChange Method

Definition

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)

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.

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

ApplyChange(String, Int32)

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

Returns

Applies to