DeviceInformation.GetAqsFilterFromDeviceClass(DeviceClass) 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 a filter to use to enumerate through a subset of device types.
public:
static Platform::String ^ GetAqsFilterFromDeviceClass(DeviceClass deviceClass);
static winrt::hstring GetAqsFilterFromDeviceClass(DeviceClass const& deviceClass);
public static string GetAqsFilterFromDeviceClass(DeviceClass deviceClass);
function getAqsFilterFromDeviceClass(deviceClass)
Public Shared Function GetAqsFilterFromDeviceClass (deviceClass As DeviceClass) As String
Parameters
- deviceClass
- DeviceClass
The type of devices that you want to create a filter for.
Returns
The Advanced Query Syntax (AQS) filter used to specifically enumerate through the device type specified by deviceClass.