MergeEventArgs Class

Provides data for the Merge event.

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

The MergeEventArgs class provides properties that can be used during a Merge event to programmatically interact with the underlying XML document of the current form that's being merged, to determine the number of files being merged, to cancel the event, and to determine when and how to rollback changes that occurred during a merge operation that was cancelled.

The MergeEventArgs class is equivalent to the MergeEventObject interface of the InfoPath 2003 managed code object model.

For an example of using some of the properties of the MergeEventArgs class, see the sample code in the Merge event topic.


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