PhoneLine.TransportDeviceId 属性
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
与此 PhoneLine 关联的 PhoneLineTransportDevice 的设备 ID。 如果没有传输设备,则为 Null。
public:
property Platform::String ^ TransportDeviceId { Platform::String ^ get(); };
winrt::hstring TransportDeviceId();
public string TransportDeviceId { get; }
var string = phoneLine.transportDeviceId;
Public ReadOnly Property TransportDeviceId As String
属性值
表示设备 ID 的字符串。
Windows 要求
设备系列 |
Windows 10, version 1903 (在 10.0.18362.0 中引入)
|
API contract |
Windows.ApplicationModel.Calls.CallsPhoneContract (在 v5.0 中引入)
|
注解
DeviceId 来自 Windows.Devices.Enumerations.DeviceInformation.ID。
PhoneLineTransportDevice 仅适用于 PhoneLineTransport 类型为蓝牙的 PhoneLine 对象。