Returns the handle of the Message that the Data Segment is in.
Syntax:
Returns:
A number identifying the Message
Remarks:
Data segments in an X12 message are between the ST and SE segments inclusively; in UN/EDIFACT, they are between the UNH and UNT segments inclusively. The MessageHandle property is equivalent to the TransactionSetHandle property.
Example:
Dim oSegment As Fredi.ediDataSegment
...nMessageHandle = oSegment.MessageHandle
nTsHandle = oSegment.TransactionSetHandle
Sample