Framework EDI Reference. Methods and Properties
ediTransactionSet. RemoveDataSegment

Removes a data segment from a UN/EDIFACT Message or ASC/X12 Transaction Set.

Syntax:

Parameters:

 Returns

Returns 1 if the operation is successful; otherwise the operation returns zero.

 Remarks

This method only works in dynamic cursor because removing a data segment requires an internal hierarchical tree to be generated when the document is loaded or created.