Close


The Close method closes file currently attached to the object. Data buffer is flushed and file is detached from the object.
C++
long Close(void);
BASIC
Close() As Long

Parameters

Method has no parameters.

Return Values

If the method succeeds, the return value is 0.
If the method fails, the return value is failure code and error code is set. Call GetError to get error code.

Remarks

File is closed unconditionally regardless of IXF_MODE_CLOSE flag in mode of operation of the object.

See Also

Open, OpenAdvanced, Attach, Detach, Flush, Opening and Attaching File