Share via


MergeEvent.Index property

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

Namespace:  Microsoft.Office.Interop.InfoPath.SemiTrust
Assembly:  Microsoft.Office.Interop.InfoPath.SemiTrust (in Microsoft.Office.Interop.InfoPath.SemiTrust.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.

Important

This member can be accessed without restrictions.

See also

Reference

MergeEvent interface

MergeEvent members

Microsoft.Office.Interop.InfoPath.SemiTrust namespace