Edit

Share via


XmlChangingEventHandler Delegate

Definition

Represents the method that will handle the Changing event of a form.

public delegate void XmlChangingEventHandler(System::Object ^ sender, XmlChangingEventArgs ^ e);
public delegate void XmlChangingEventHandler(object sender, XmlChangingEventArgs e);
type XmlChangingEventHandler = delegate of obj * XmlChangingEventArgs -> unit
Public Delegate Sub XmlChangingEventHandler(sender As Object, e As XmlChangingEventArgs)

Parameters

sender
Object

The source of the event.

e
XmlChangingEventArgs

An XmlChangingEventArgs object that contains the event data.

Examples

For an example of using the XmlChangingEventHandler delegate, see the sample code in the Changing event of the XmlEvent class.

Remarks

Important: The code skeleton for an event handler associated with the Changing event, which uses the XmlChangingEventHandler delegate, should be added only from the Microsoft InfoPath user interface. For more information on how to add event handlers in InfoPath, see How Do I: Add an Event Handler.

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

Applies to