XmlChangingEventArgs Class (Microsoft.Office.InfoPath)
Assembly: Microsoft.Office.InfoPath (in microsoft.office.infopath.dll)
The XmlChangingEventArgs object is passed to the event handler for the Changing event, which occurs after changes to a form's underlying XML document have been made but before the changes have been accepted.
The XmlChangingEventArgs class is derived from the XmlEventArgs class which provides properties that can be used within the event handler to get information about the data that is about to be changed in the form's underlying XML document and the node that is changing. For example, the XmlEventArgs object provides the Site property which gets a reference to an XPathNavigator object that points to the node that is about to be changed in the form's underlying XML document. However, note that the form's underlying XML document is read-only during the Changing event.