Skip to content

Latest commit

 

History

History
30 lines (21 loc) · 1.36 KB

pnpobject_update_414576016.md

File metadata and controls

30 lines (21 loc) · 1.36 KB
-api-id -api-type
M:Windows.Devices.Enumeration.Pnp.PnpObject.Update(Windows.Devices.Enumeration.Pnp.PnpObjectUpdate)
winrt method

Windows.Devices.Enumeration.Pnp.PnpObject.Update

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

Updates the properties of an existing PnpObject by applying the changes described in a PnpObjectUpdate object.

-parameters

-param updateInfo

Indicates the properties to update.

-remarks

-examples

-see-also

PnpObjectUpdate