DeviceInformation.GetAqsFilterFromDeviceClass(DeviceClass) DeviceInformation.GetAqsFilterFromDeviceClass(DeviceClass) DeviceInformation.GetAqsFilterFromDeviceClass(DeviceClass) DeviceInformation.GetAqsFilterFromDeviceClass(DeviceClass) DeviceInformation.GetAqsFilterFromDeviceClass(DeviceClass) Method

Definition

Creates a filter to use to enumerate through a subset of device types.

public : static Platform::String GetAqsFilterFromDeviceClass(DeviceClass deviceClass)
static winrt::hstring GetAqsFilterFromDeviceClass(DeviceClass deviceClass) const;
public static string GetAqsFilterFromDeviceClass(DeviceClass deviceClass)
Public Shared Function GetAqsFilterFromDeviceClass(deviceClass As DeviceClass) As string
var string = Windows.Devices.Enumeration.DeviceInformation.getAqsFilterFromDeviceClass(deviceClass);

Parameters

deviceClass
DeviceClass DeviceClass DeviceClass

The type of devices that you want to create a filter for.

Returns

string string string

The Advanced Query Syntax (AQS) filter used to specifically enumerate through the device type specified by deviceClass.