Share via


PwmController.FromIdAsync(String) Method

Definition

Initializes a PWM controller instance based on the given DeviceInformation ID.

public:
 static IAsyncOperation<PwmController ^> ^ FromIdAsync(Platform::String ^ deviceId);
/// [Windows.Foundation.Metadata.RemoteAsync]
 static IAsyncOperation<PwmController> FromIdAsync(winrt::hstring const& deviceId);
[Windows.Foundation.Metadata.RemoteAsync]
public static IAsyncOperation<PwmController> FromIdAsync(string deviceId);
function fromIdAsync(deviceId)
Public Shared Function FromIdAsync (deviceId As String) As IAsyncOperation(Of PwmController)

Parameters

deviceId
String

Platform::String

winrt::hstring

The acquired DeviceInformation ID.

Returns

Attributes

Windows requirements

Device family
Windows 10 Creators Update (introduced in 10.0.15063.0)
API contract
Windows.Devices.DevicesLowLevelContract (introduced in v3.0)

Applies to