MergeEventArgs Class

Provides data for the Merge event.

Inheritance Hierarchy

System.Object
  System.EventArgs
    Microsoft.Office.InfoPath.MergeEventArgs

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.

Examples

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

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.

See Also

Reference

MergeEventArgs Members

Microsoft.Office.InfoPath Namespace