Skip to content

Latest commit

 

History

History
39 lines (27 loc) · 2.19 KB

pnpobject_findallasync_660635354.md

File metadata and controls

39 lines (27 loc) · 2.19 KB
-api-id -api-type
M:Windows.Devices.Enumeration.Pnp.PnpObject.FindAllAsync(Windows.Devices.Enumeration.Pnp.PnpObjectType,Windows.Foundation.Collections.IIterable{System.String},System.String)
winrt method

Windows.Devices.Enumeration.Pnp.PnpObject.FindAllAsync

-description

Important

We no longer recommend that you use the types in the Windows.Devices.Enumeration.Pnp namespace. Instead, the types in the Windows.Devices.Enumeration namespace implement a modern, and better maintained, superset of the functionality of Windows.Devices.Enumeration.Pnp.

The alternative to PnpObjectType is the Windows.Devices.Enumeration.DeviceInformationKind enum, which you can pass as a parameter to Windows.Devices.Enumeration APIs. For example, instead of using PnpObjectType when you create a PnpObjectWatcher, use DeviceInformationKind when you create a DeviceWatcher.

Returns all of the PnP objects of a specified type that match the specified filter.

-parameters

-param type

The type of the PnpObject.

-param requestedProperties

An iterable list of additional properties to include in the Properties property of the PnpObject objects included in enumeration results. For more info on what the properties represent, see Device information properties.

-param aqsFilter

An AQS string that filters the PnP objects that will be returned. Typically, this string is retrieved from the method of a class that interacts with devices.

-returns

An object that represents the asynchronous operation.

-remarks

-examples

-see-also

FindAllAsync(PnpObjectType, IIterable_1)