SerialCommPortExtensionsToString Method |
Converts SerialCommPort to string.
If you use custom port name, use SerialPort.SerialCommPortToString(SerialCommPort port) instead.
Namespace: ZylSoft.SerialAssembly: ZylSerialPort (in ZylSerialPort.dll) Version: 1.86.9206.30146
Syntaxpublic static string ToString(
SerialCommPort port
)
Public Shared Function ToString (
port As SerialCommPort
) As String
public:
static String^ ToString(
SerialCommPort port
)
static member ToString :
port : SerialCommPort -> string public static String ToString(
SerialCommPort port
)
public static function ToString(
port : SerialCommPort
) : String
ZylSoft.Serial.SerialCommPortExtensions.ToString = function(port);
STATIC METHOD ToString(
port AS SerialCommPort
) AS STRING
No code example is currently available or this language may not be supported.
Parameters
- port SerialCommPort
-
SerialCommPort value.
Return Value
String
String representation of the port.
See Also