Dela via


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 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

String

Platform::String

winrt::hstring

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

Applies to