Uredi

Deli z drugimi prek


XmlNodeChangedEventArgs.OldValue Property

Definition

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.

Applies to