XmlNodeChangedEventArgs.NewValue Property


Gets the new value of the node.

Namespace:   System.Xml
Assembly:  System.Xml (in System.Xml.dll)

public string NewValue { get; }

Property Value

Type: System.String

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.

Universal Windows Platform
Available since 10
.NET Framework
Available since 2.0
Return to top