MergeEventArgs Class (Microsoft.Office.InfoPath)
Provides data for the Merge event.
Namespace: Microsoft.Office.InfoPath
Assembly: Microsoft.Office.InfoPath (in microsoft.office.infopath.dll)
Syntax
'Declaration
Public MustInherit Class MergeEventArgs
Inherits EventArgs
'Usage
Dim instance As MergeEventArgs
public abstract class MergeEventArgs : EventArgs
Remarks
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.
Example
For an example of using some of the properties of the MergeEventArgs class, see the sample code in the Merge event topic.
Inheritance Hierarchy
System.Object
System.EventArgs
Microsoft.Office.InfoPath.MergeEventArgs
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.