BarcodeScanner.DeviceId 属性

定义

获取条形码扫描仪的 DeviceInformation.Id

public:
 property Platform::String ^ DeviceId { Platform::String ^ get(); };
winrt::hstring DeviceId();
public string DeviceId { get; }
var string = barcodeScanner.deviceId;
Public ReadOnly Property DeviceId As String

属性值

String

Platform::String

winrt::hstring

条形码扫描仪的 DeviceInformation.Id

适用于

另请参阅