InsertSegment()

Top  Previous  Next

<----------New In Version 4.x---------->

Object: EHL7.EHL7Message

FileName: EHL7.dll

 

METHOD

 

Name: InsertSegment()

Parameters:

1.oSegment (The disconnected segment object to add)

 

Returns: Object (Segment Object) - The segment object that was inserted.

Description: Inserts a segment at the end of the current message either after (AddSegmentAfter) or before (AddSegmentBefore) the reference segment passed in the first parameter

 

Programming Notes: The Segment passed (oSegment) would be the return value of the CloneSegment() function.