Framework EDI Reference. Methods and Properties
ediDocument. Close

Closes and cleans up the object.

Syntax:

Returns

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

Remarks

The Close method destroys all internal tree structure created during the processing of any EDI document. This is similar to destroying the ediDocument interface; but in the Close method, the ediDocument object, itself, is not destroyed therefore there is no need to recreate the object. 

Example.

Dim oEdiDoc As Fredi.ediDocument
Set oEdiDoc = New ediDocument:

‘ Do stuff:

oEdiDoc.Close