SerialDevice.PortName Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the port name for serial communications.
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
Property Value
The communication port name. For example "COM1".