Click to Rate and Give Feedback
Collapse All/Expand All Collapse All
This page is specific to
Microsoft Visual Studio 2005/.NET Framework 2.0

Other versions are also available for the following:
XmlEventArgs Class (Microsoft.Office.InfoPath)
Provides data for the Changed event.

Namespace: Microsoft.Office.InfoPath
Assembly: Microsoft.Office.InfoPath (in microsoft.office.infopath.dll)

Visual Basic (Declaration)
Public MustInherit Class XmlEventArgs
    Inherits EventArgs
Visual Basic (Usage)
Dim instance As XmlEventArgs
C#
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.

System.Object
   System.EventArgs
    Microsoft.Office.InfoPath.XmlEventArgs
       Microsoft.Office.InfoPath.XmlChangingEventArgs
       Microsoft.Office.InfoPath.XmlValidatingEventArgs
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Tags What's this?: Add a tag
Community Content   What is Community Content?
Add new content RSS  Annotations
Processing
© 2009 Microsoft Corporation. All rights reserved. Terms of Use | Trademarks | Privacy Statement | Site Feedback
Page view tracker