PhoneLineTransportDevice.DeviceId 属性

定义

获取与 PhoneLineTransportDevice 关联的硬件设备的 DeviceID。

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

属性值

String

Platform::String

winrt::hstring

表示 DeviceID 的字符串。

注解

DeviceId 来自 Windows.Devices.Enumerations.DeviceInformation.ID

适用于