Close Method

Closes previously opened communication port.

Syntax

Delphi
procedure Close(); 
BCBuilder
void Close();
 

Parameters

None.

Remarks

1) If port is not open Close method does not throw any exception.
2) Port will be closed automatically on object destruction.