Open Method
Opens specified serial port and sets up its parameters.
Syntax
Visual Basic | Sub Open() |
---|---|
Visual C++ (MFC) | void Open(); |
Visual C++ (#import) | void Open(); |
Parameters
None.
Errors
The method may throw exception. Use GetLastError method to get the error code.