Share via


SpanEditHandler.GetOldText(Span, TextChange) Method

Definition

This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code. Gets the old text from the span content.

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

Parameters

target
Span

The span to get old text from.

change
TextChange

The text change which contains the location of the old text.

Returns

The old text from the span content.

Applies to