PnpObjectUpdate PnpObjectUpdate PnpObjectUpdate PnpObjectUpdate Class

Definition

Contains the updated properties of a PnpObject.

public sealed class PnpObjectUpdatepublic sealed class PnpObjectUpdatePublic NotInheritable Class PnpObjectUpdatepublic sealed class PnpObjectUpdate
Attributes
Windows 10 requirements
Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)

Remarks

Retrieve an instance of this class from the Updated event.

Instantiate an instance of this class to pass to the Update(PnpObjectUpdate) method.

Properties

Id Id Id Id

The identifier of the PnpObject.

public string Id { get; }public string Id { get; }Public ReadOnly Property Id As stringpublic string Id { get; }
Value
string string string string

The identifier of the PnpObject.

Attributes
Additional features and requirements
Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)

Properties Properties Properties Properties

The changed properties in an update to a PnpObject.

public IMapView<string, object> Properties { get; }public IMapView<string, object> Properties { get; }Public ReadOnly Property Properties As IMapView<string, object>public IMapView<string, object> Properties { get; }
Value

The changed properties.

Attributes
Additional features and requirements
Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)

Remarks

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

Type Type Type Type

The type of the PnpObject. One of the values of the PnpObjectType enumeration.

public PnpObjectType Type { get; }public PnpObjectType Type { get; }Public ReadOnly Property Type As PnpObjectTypepublic PnpObjectType Type { get; }
Attributes
Additional features and requirements
Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)