XmlNodeChangedEventArgs.OldValue Property
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.
Gets the original value of the node.
public:
property System::String ^ OldValue { System::String ^ get(); };
public string OldValue { get; }
public string? OldValue { get; }
member this.OldValue : string
Public ReadOnly Property OldValue As String
Property Value
The original value of the node. This property returns null
if the node is neither an attribute nor a text node, or if the node is being inserted.
If called in a NodeChanging event, OldValue
returns the current value of the node that will be replaced if the change is successful. If called in a NodeChanged event, OldValue
returns the value of node prior to the change.