MergeEventArgs.Index Property (Microsoft.Office.InfoPath)
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
'Usage
Dim instance As MergeEventArgs
Dim value As Integer
value = instance.Index
public abstract int Index { get; }
Property Value
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 Office InfoPath 2007.
See Also
Reference
MergeEventArgs Class
MergeEventArgs Members
Microsoft.Office.InfoPath Namespace