Edit

Share via


MergeEventArgs Class

Definition

Provides data for the Merge event.

public ref class MergeEventArgs abstract : EventArgs
public abstract class MergeEventArgs : EventArgs
type MergeEventArgs = class
    inherit EventArgs
Public MustInherit Class MergeEventArgs
Inherits EventArgs
Inheritance
MergeEventArgs

Examples

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

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.

Constructors

MergeEventArgs()

Properties

CancelableArgs

Gets a reference to the XmlFormCancelEventArgs object.

Count

Gets the count of the number of forms being merged in a merging operation.

Index

Gets the zero-based index of the form that is currently being merged.

Rollback

Gets or sets a value that is used with the Cancel property to determine whether to cancel only the current form or the entire merging operation.

Xml

Gets an XPathNavigator object positioned at the root node of the underlying XML document of the form that is currently being merged.

Applies to