ImageScanner.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.
Creates an instance of a ImageScanner object based on a scanners device information ID. This method is required for broker device enumeration.
public:
static IAsyncOperation<ImageScanner ^> ^ FromIdAsync(Platform::String ^ deviceId);
/// [Windows.Foundation.Metadata.RemoteAsync]
static IAsyncOperation<ImageScanner> FromIdAsync(winrt::hstring const& deviceId);
[Windows.Foundation.Metadata.RemoteAsync]
public static IAsyncOperation<ImageScanner> FromIdAsync(string deviceId);
function fromIdAsync(deviceId)
Public Shared Function FromIdAsync (deviceId As String) As IAsyncOperation(Of ImageScanner)
Parameters
- deviceId
-
String
Platform::String
winrt::hstring
The device information ID. See DeviceInformation.Id property.
Returns
The ImageScanner object.
- Attributes