PortName Property
Name of the serial port.
Access
Read/Write
Syntax
Visual Basic .NET |
PortName As String |
---|---|
Visual C# |
String PortName; |
Return Value
String containing the name of the serial port.
Errors
The property may throw exception. Refer to Handle errors sample for details.