MergeEventArgs.Index Property
Gets the zero-based index of the form that is currently being merged.
Namespace: Microsoft.Office.InfoPath
Assembly: Microsoft.Office.InfoPath (in Microsoft.Office.InfoPath.dll)
Syntax
'Declaration
Public MustOverride ReadOnly Property Index As Integer
Get
'Usage
Dim instance As MergeEventArgs
Dim value As Integer
value = instance.Index
public abstract int Index { get; }
Property Value
Type: System.Int32
The numeric index of the form being merged.
Remarks
The value of the Index property increases from 0 to Count-1 for each Merge event that occurs when multiple forms are merged.
When used in combination with the Count property, the Index property can be used to determine when the last form has been merged.
This property can be used only during the Merge event.
This member can be accessed without restrictions.
This type or member can be accessed only from code running in forms opened in Microsoft InfoPath Filler.