Dela via


MobileBroadbandModem.FromId(String) Method

Definition

Determine if a mobile broadband device is a Wireless WAN device.

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

Parameters

deviceId
String

Platform::String

winrt::hstring

The mobile broadband device ID

Returns

The mobile broadband modem.

Windows requirements

App capabilities
cellularDeviceControl cellularDeviceIdentity

Applies to