Home > Language Reference > Classes > StreamSerial
Close Method
Closes the communication port.
Syntax
Public Sub Close()
Remarks
This method closes the communication port previously opened by the Open method. Using a serial port uses a lot of power so it is important to close any communication port once it is not used any more.
Calling this method on a StreamSerial object whose port is not open does not have any effect, and in particular, does not cause a runtime error.
System requirements
| System | Minimal version | Remarks |
| Palm OS | Palm OS 3.3 | N/A |