Freigeben über


SerialDevice.PortName Eigenschaft

Definition

Ruft den Portnamen für die serielle Kommunikation ab.

public:
 property Platform::String ^ PortName { Platform::String ^ get(); };
winrt::hstring PortName();
public string PortName { get; }
var string = serialDevice.portName;
Public ReadOnly Property PortName As String

Eigenschaftswert

String

Platform::String

winrt::hstring

Der Name des Kommunikationsports. Beispiel: "COM1".

Gilt für: