Detach Method

Detaches from virtual serial port.

Syntax

Visual Basic
Sub Detach() 
Delphi
procedure Detach(); 
Visual C++ (MFC)
void Detach();
Visual C++ (#import)
void Detach();

Parameters

None.

Errors

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.

See Also

Attach