Closes previously opened communication port.
| Visual Basic | Sub Close()
|
|---|---|
| Visual C++ (MFC) | void Close();
|
| Visual C++ (#import) | void Close();
|
None.
1) If port is not open Close method does not throw any exception.
2) Port will be closed automatically on object destruction.