Detaches from virtual serial port.
| Visual Basic .NET | Sub Detach()
|
|---|---|
| Visual C# | void Detach();
|
None.
The method may throw exception. Use GetLastError method to get the error code.
| ftvspcErrorFailed | 1 | The operation has not been completed. |
|---|---|---|
| ftvspcErrorInvalidParameter | 2 | Invalid parameter. |