HidDevice.GetDeviceSelector HidDevice.GetDeviceSelector HidDevice.GetDeviceSelector HidDevice.GetDeviceSelector HidDevice.GetDeviceSelector Method

Definition

Overloads

GetDeviceSelector(UInt16, UInt16) GetDeviceSelector(UInt16, UInt16) GetDeviceSelector(UInt16, UInt16) GetDeviceSelector(UInt16, UInt16) GetDeviceSelector(UInt16, UInt16)

Retrieves an Advanced Query Syntax (AQS) string based on the given usagePage and usageId.

GetDeviceSelector(UInt16, UInt16, UInt16, UInt16) GetDeviceSelector(UInt16, UInt16, UInt16, UInt16) GetDeviceSelector(UInt16, UInt16, UInt16, UInt16) GetDeviceSelector(UInt16, UInt16, UInt16, UInt16) GetDeviceSelector(UInt16, UInt16, UInt16, UInt16)

Retrieves an Advanced Query Syntax (AQS) string based on the given usagePage, usageId, vendorId, and productId.

GetDeviceSelector(UInt16, UInt16) GetDeviceSelector(UInt16, UInt16) GetDeviceSelector(UInt16, UInt16) GetDeviceSelector(UInt16, UInt16) GetDeviceSelector(UInt16, UInt16)

Retrieves an Advanced Query Syntax (AQS) string based on the given usagePage and usageId.

public : static Platform::String GetDeviceSelector(unsigned short usagePage, unsigned short usageId)
static winrt::hstring GetDeviceSelector(UInt16 usagePage, UInt16 usageId) const;
public static string GetDeviceSelector(UInt16 usagePage, UInt16 usageId)
Public Shared Function GetDeviceSelector(usagePage As UInt16, usageId As UInt16) As string
var string = Windows.Devices.HumanInterfaceDevice.HidDevice.getDeviceSelector(usagePage, usageId);

Parameters

usagePage
UInt16 UInt16 UInt16

Specifies the usage page of the top-level collection for the given HID device.

usageId
UInt16 UInt16 UInt16

Specifies the usage identifier of the top-level collection for the given HID device.

Returns

string string string

An Advanced Query Syntax (AQS) string that represents a device selector.

GetDeviceSelector(UInt16, UInt16, UInt16, UInt16) GetDeviceSelector(UInt16, UInt16, UInt16, UInt16) GetDeviceSelector(UInt16, UInt16, UInt16, UInt16) GetDeviceSelector(UInt16, UInt16, UInt16, UInt16) GetDeviceSelector(UInt16, UInt16, UInt16, UInt16)

Retrieves an Advanced Query Syntax (AQS) string based on the given usagePage, usageId, vendorId, and productId.

public : static Platform::String GetDeviceSelector(unsigned short usagePage, unsigned short usageId, unsigned short vendorId, unsigned short productId)
static winrt::hstring GetDeviceSelector(UInt16 usagePage, UInt16 usageId, UInt16 vendorId, UInt16 productId) const;
public static string GetDeviceSelector(UInt16 usagePage, UInt16 usageId, UInt16 vendorId, UInt16 productId)
Public Shared Function GetDeviceSelector(usagePage As UInt16, usageId As UInt16, vendorId As UInt16, productId As UInt16) As string
var string = Windows.Devices.HumanInterfaceDevice.HidDevice.getDeviceSelector(usagePage, usageId, vendorId, productId);

Parameters

usagePage
UInt16 UInt16 UInt16

Specifies the usage page of the top-level collection for the given HID device.

usageId
UInt16 UInt16 UInt16

Specifies the usage identifier of the top-level collection for the given HID device.

vendorId
UInt16 UInt16 UInt16

Identifies the device vendor.

productId
UInt16 UInt16 UInt16

Identifies the product.

Returns

string string string

An Advanced Query Syntax (AQS) string that represents a device selector.