ZylSerialPort.NET

SerialPort.StringToSerialCommPort Method 

Converts string to SerialCommPort.

[Visual Basic]
Public Shared Function StringToSerialCommPort( _
   ByVal String As String _
) As SerialCommPort
[C#]
public static SerialCommPort StringToSerialCommPort(
   String port
);

Parameters

String
String representation of the port.

Return Value

The equivalent SerialCommPort value.

See Also

SerialPort Class | ZylSerialPort Namespace