Share via


PhoneLineTransportDevice.FromId(String) Method

Definition

Gets the PhoneLineTransportDevice from the given DeviceId.

public:
 static PhoneLineTransportDevice ^ FromId(Platform::String ^ id);
 static PhoneLineTransportDevice FromId(winrt::hstring const& id);
public static PhoneLineTransportDevice FromId(string id);
function fromId(id)
Public Shared Function FromId (id As String) As PhoneLineTransportDevice

Parameters

id
String

Platform::String

winrt::hstring

A DeviceId.

Returns

The PhoneLineTransportDevice or null if DeviceId does not correspond to existing device.

Applies to

See also