SpanEditHandler.GetOldText(Span, TextChange) Metoda

Definice

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

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

String

Poznámky

Pokud se obsah již aktualizoval použitím změny, tato data budou neplatná .

Platí pro