Condividi tramite


SpanEditHandler.GetOldText(Span, TextChange) Metodo

Definizione

Restituisce il testo precedente a cui fa riferimento la modifica.

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

Parametri

target
Span
change
TextChange

Restituisce

Commenti

Se il contenuto è già stato aggiornato applicando la modifica, questi dati non saranno validi

Si applica a