MergeEvent.index property

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

Namespace:  Microsoft.Office.Interop.InfoPath
Assembly:  Microsoft.Office.Interop.InfoPath (in Microsoft.Office.Interop.InfoPath.dll)

Syntax

'Declaration
ReadOnly Property index As Integer
    Get
'Usage
Dim instance As MergeEvent
Dim value As Integer

value = instance.index
int index { get; }

Property value

Type: System.Int32

Remarks

The value of the Index property increases from 0 to Count-1 for each MergeEvent that occurs when forms are merged.

When used in combination with the Count property of the MergeEvent object, the Index property can be used to determine when the last form has been merged.

See also

Reference

MergeEvent interface

MergeEvent members

Microsoft.Office.Interop.InfoPath namespace