UsbDevice.FromIdAsync(String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
public:
static IAsyncOperation<UsbDevice ^> ^ FromIdAsync(Platform::String ^ deviceId);
/// [Windows.Foundation.Metadata.RemoteAsync]
static IAsyncOperation<UsbDevice> FromIdAsync(winrt::hstring const& deviceId);
[Windows.Foundation.Metadata.RemoteAsync]
public static IAsyncOperation<UsbDevice> FromIdAsync(string deviceId);
function fromIdAsync(deviceId)
Public Shared Function FromIdAsync (deviceId As String) As IAsyncOperation(Of UsbDevice)
Parameters
- deviceId
-
String
Platform::String
winrt::hstring
The device instance path of the device. To obtain that value, get the DeviceInformation.Id property value.
Returns
Returns an IAsyncOperation(UsbDevice) object that returns the results of the operation.
- Attributes