SpanEditHandler.GetOldText(Span, TextChange) 方法

定义

返回更改引用的旧文本。

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

参数

target
Span
change
TextChange

返回

注解

如果已通过应用更改更新内容,则此数据将 无效

适用于