Export (0) Print
Expand All

XmlEventArgs class

Provides data for the Changed event.

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

public abstract class XmlEventArgs : EventArgs

The XmlEventArgs object is passed to the event handler for the Changed event, which occurs after changes to the form's underlying XML document have been accepted and the Validating event has occurred. The XmlEventArgs object provides a number of properties that can be used within the event handler to programmatically interact with the data that is being changed in the form's underlying XML document and to get information about the node that is being changed.

The XmlEventArgs object provides the Site property which gets a reference to an XPathNavigator object that that is positioned at the node that is being changed, and can be used to work with this node and other data in a form's underlying XML document.

The XmlChangingEventArgs and XmlValidatingEventArgs classes for the corresponding ChangingValidating events are derived from the XmlEventArgs class and expose the same set of properties.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Community Additions

Show:
© 2014 Microsoft