PortName Property

Name of virtual serial port. This property should be set before calling Attach method or accessing any property. Changing it after Attach call leads to ftvspcErrorPortAttached exception. In case of this property is set in Design mode, virtual serial port will be created automatically on the start of application.
Remarks: When FTVSPCPort Class created dynamically (not by placing on form) there is no need to call the Attach method after setting of this property.




Visual Basic
PortName As String
PortName: String;
Visual C++ (MFC)
CString get_PortName(); 
void put_PortName(CString value);   
Visual C++ (#import)
_bstr_t PortName;