Framework EDI Reference. Methods and Properties
ediInterchange. TransactionsetCount

Returns the number of ASC/X12 Transaction Sets within the Interchange.

Syntax:

Remarks

In ASC/X12, Transaction Sets are not directly enveloped by the Interchange and are instead enveloped by the Functional Group.  So with ASC/X12 documents the Transaction Set count in the Interchange should be zero.

This property is the same as the MessageCount property and can also be used to the return the number of UN/EDIFACT messages in the Interchange.