XmlEventArgs.NewValue property

Office 2013 and later

Gets the new value for the node being changed.

Namespace:  Microsoft.Office.InfoPath
Assembly:  Microsoft.Office.InfoPath (in Microsoft.Office.InfoPath.dll)

public abstract string NewValue { get; }

Property value

Type: System.String
The value that will replace the existing value.

The NewValue property contains the value of the node that will replace the existing value. To get the original value of the node, use the OldValue property.

This member can be accessed without restrictions.

This type or member can be accessed from code running in forms opened in Microsoft InfoPath Filler or in a Web browser.