public string ComPort {get; set;}
Public Property ComPort As String
var sp = new SerialPortDeviceLocationSource() { ComPort = "COM4", };
Target Platforms: Windows 10, Windows 8.1
SerialPortDeviceLocationSource Class SerialPortDeviceLocationSource Members