Name of virtual serial port. This property should be set bofore 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.
Read/Write
| Visual Basic |
PortName As String
|
|---|---|
| Delphi |
PortName: String; |
| Visual C++ (MFC) |
CString get_PortName();
void put_PortName(CString value);
|
| Visual C++ (#import) |
_bstr_t PortName;
|