Share via


PhoneLine.TransportDeviceId Eigenschaft

Definition

Geräte-ID für das PhoneLineTransportDevice, das dieser PhoneLine zugeordnet ist. Null, wenn kein Transportgerät vorhanden ist.

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

Eigenschaftswert

String

Platform::String

winrt::hstring

Zeichenfolge, die die Geräte-ID darstellt.

Windows-Anforderungen

Gerätefamilie
Windows 10, version 1903 (eingeführt in 10.0.18362.0)
API contract
Windows.ApplicationModel.Calls.CallsPhoneContract (eingeführt in v5.0)

Hinweise

Die DeviceId stammt aus dem Windows.Devices.Enumerations.DeviceInformation.ID.

PhoneLineTransportDevice ist nur für PhoneLine-Objekte verfügbar, bei denen der PhoneLineTransport-Typ Bluetooth ist.

Gilt für: