XmlNodeChangedEventArgs.NewValue Property

Definition

Gets the new value of the node.

public:
 property System::String ^ NewValue { System::String ^ get(); };
public string NewValue { get; }
member this.NewValue : string
Public ReadOnly Property NewValue As String

Property Value

The new 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 removed.

If called in a NodeChanging event, NewValue returns the value of the node if the change is successful. If called in a NodeChanged event, NewValue returns the current value of the node.

Applies to