Framework EDI Reference. Methods and Properties
ediDataSegment. InterchangeHandle

Returns the handle of the Interchange that the Data Segment belongs to.

Syntax:

Returns:

A number identifying the Interchange

 

Remarks:

Data segments in an X12 Interchange are between the ISA and IEA segments inclusively; in UN/EDIFACT, they are between the UNB and UNZ segments inclusively.

Example:

Dim oSegment As Fredi.ediDataSegment
...

nInterChangeHandle = oSegment.InterchangeHandle

Sample

Visual Basic program displaying Data Segment properties