Share via


BarcodeScanner.GetDeviceSelector Method

Definition

Overloads

GetDeviceSelector(PosConnectionTypes)

Gets an Advanced Query Syntax (AQS) string that you can use to list the barcode scanners available over the specified connection types

GetDeviceSelector()

Gets an Advanced Query Syntax (AQS) string that you can use to list the available barcode scanners.

GetDeviceSelector(PosConnectionTypes)

Gets an Advanced Query Syntax (AQS) string that you can use to list the barcode scanners available over the specified connection types

[Windows.Foundation.Metadata.Overload("GetDeviceSelectorWithConnectionTypes")]
public static string GetDeviceSelector(PosConnectionTypes connectionTypes);

Parameters

connectionTypes
PosConnectionTypes

A list of the connection types to test for available barcode scanners.

Returns

String

An Advanced Query Syntax (AQS) string that is used to enumerate the barcode scanners available over the specified connection types

Attributes

Windows requirements

Device family
Windows 10 Creators Update (introduced in 10.0.15063.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v4.0)

Applies to

WinRT Build 26100 and other versions
Product Versions
WinRT Build 15063, Build 16299, Build 17134, Build 17763, Build 18362, Build 19041, Build 20348, Build 22000, Build 22621, Build 26100

GetDeviceSelector()

Gets an Advanced Query Syntax (AQS) string that you can use to list the available barcode scanners.

public static string GetDeviceSelector();

Returns

String

An Advanced Query Syntax (AQS) string that is used to enumerate available barcode scanners.

Applies to

WinRT Build 26100 and other versions
Product Versions
WinRT Build 10240, Build 10586, Build 14383, Build 15063, Build 16299, Build 17134, Build 17763, Build 18362, Build 19041, Build 20348, Build 22000, Build 22621, Build 26100