Share via


PnpObject.Properties Property

Definition

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 property store containing well-known values as well as additional specified properties.

public:
 property IMapView<Platform::String ^, Platform::Object ^> ^ Properties { IMapView<Platform::String ^, Platform::Object ^> ^ get(); };
IMapView<winrt::hstring, IInspectable const&> Properties();
public IReadOnlyDictionary<string,object> Properties { get; }
var iMapView = pnpObject.properties;
Public ReadOnly Property Properties As IReadOnlyDictionary(Of String, Object)

Property Value

IMapView<String,Object>

IReadOnlyDictionary<String,Object>

IMapView<Platform::String,Platform::Object>

IMapView<winrt::hstring,IInspectable>

A pointer to the property store.

Remarks

For more info on what the properties represent, see Device information properties.

Applies to