SpanEditHandler.GetOldText(Span, TextChange) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.