Freigeben über


SpanEditHandler.GetOldText(Span, TextChange) Methode

Definition

Gibt den alten Text zurück, auf den die Änderung verweist.

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

Parameter

target
Span
change
TextChange

Gibt zurück

Hinweise

Wenn der Inhalt durch Anwenden der Änderung bereits aktualisiert wurde, sind diese Daten ungültig.

Gilt für: