Framework EDI Reference. Methods and Properties
ediDataSegment. LoopInstance

Returns the instance of the loop that the data segment is directly nested under.

Syntax:

Remarks:

An instance of a loop is the number of times the loop is repeated.  For example, if a loop is repeated twice, then it has two instances.  The first instance of the loop returns a value of 1.

Sample

Visual Basic program displaying Data Segment properties