Share via


TextChange.OldText Property

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

Gets or sets the text that was replaced.

Namespace:  System.Web.Razor.Text
Assembly:  System.Web.Razor (in System.Web.Razor.dll)

Syntax

'Declaration
Public ReadOnly Property OldText As String 
    Get
'Usage
Dim instance As TextChange 
Dim value As String 

value = instance.OldText
public string OldText { get; }
public:
property String^ OldText {
    String^ get ();
}
member OldText : string
function get OldText () : String

Property Value

Type: System.String
The text that was replaced.

See Also

Reference

TextChange Structure

System.Web.Razor.Text Namespace