Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

XmlEvent Class (Microsoft.Office.InfoPath)

Implements the events raised by changes to the data in the underlying XML document of a form instance.

Namespace: Microsoft.Office.InfoPath
Assembly: Microsoft.Office.InfoPath (in microsoft.office.infopath.dll)
public abstract class XmlEvent

The XmlEvent class implements the document-level events raised by changes to the data in the underlying XML document of a form instance created using an InfoPath form template. The form-level events raised by the actions performed on the form template itself, such as loading a form or changing a view, are handled separately and implemented by the FormEvents type.


The XmlEvent class itself is not meant to be instantiated by the developer in form code. When you add an event handler to your form template from the design mode user interface, Microsoft Office InfoPath 2007 generates code in the InternalStartup method of your form code file using the EventManager class and members of the XmlEvent class to bind document-level events to their event handlers. For information on how to add event handlers in InfoPath design mode, see How to: Add an Event Handler.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

© 2014 Microsoft. All rights reserved.