Sdílet prostřednictvím


SpanEditHandler.GetOldText(Span, TextChange) Metoda

Definice

Vrátí starý text, na který změna odkazuje.

protected public:
 static System::String ^ GetOldText(Microsoft::AspNetCore::Razor::Parser::SyntaxTree::Span ^ target, Microsoft::AspNetCore::Razor::Text::TextChange change);
protected internal static string GetOldText(Microsoft.AspNetCore.Razor.Parser.SyntaxTree.Span target, Microsoft.AspNetCore.Razor.Text.TextChange change);
static member GetOldText : Microsoft.AspNetCore.Razor.Parser.SyntaxTree.Span * Microsoft.AspNetCore.Razor.Text.TextChange -> string
Protected Friend Shared Function GetOldText (target As Span, change As TextChange) As String

Parametry

target
Span
change
TextChange

Návraty

Poznámky

Pokud už byl obsah aktualizován použitím změny, budou tato data neplatná.

Platí pro