Udostępnij za pośrednictwem


TextChange.ApplyChange Metoda

Definicja

Przeciążenia

ApplyChange(Span)

Stosuje zmianę tekstu do zawartości zakresu i zwraca nową zawartość. Ta metoda nie aktualizuje zawartości zakresu.

ApplyChange(String, Int32)

ApplyChange(Span)

Stosuje zmianę tekstu do zawartości zakresu i zwraca nową zawartość. Ta metoda nie aktualizuje zawartości zakresu.

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

Parametry

span
Span

Zwraca

Dotyczy

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

Parametry

content
String
changeOffset
Int32

Zwraca

Dotyczy