Skip to content

Latest commit

 

History

History
29 lines (19 loc) · 1.11 KB

pnpobject_id.md

File metadata and controls

29 lines (19 loc) · 1.11 KB
-api-id -api-type
P:Windows.Devices.Enumeration.Pnp.PnpObject.Id
winrt property

Windows.Devices.Enumeration.Pnp.PnpObject.Id

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

A string representing the identity of the PnpObject.

-property-value

The identity string.

-remarks

-examples

-see-also