PnpObjectUpdate PnpObjectUpdate PnpObjectUpdate PnpObjectUpdate Class

Definition

Contains the updated properties of a PnpObject.

public : sealed class PnpObjectUpdate : IPnpObjectUpdate
public sealed class PnpObjectUpdate : IPnpObjectUpdate
Public NotInheritable Class PnpObjectUpdate Implements IPnpObjectUpdate
// This class does not provide a public constructor.
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 method.

Properties

Id Id Id Id

The identifier of the PnpObject.

public : Platform::String Id { get; }
public string Id { get; }
Public ReadOnly Property Id As string
var string = pnpObjectUpdate.id;
Value
Platform::String string string string

The identifier of the PnpObject.

Properties Properties Properties Properties

The changed properties in an update to a PnpObject.

public : IMapView<Platform::String, Platform::Object> Properties { get; }
public IReadOnlyDictionary<string, object> Properties { get; }
Public ReadOnly Property Properties As IReadOnlyDictionary<string, object>
var iReadOnlyDictionary = pnpObjectUpdate.properties;
Value
IMapView<Platform::String, Platform::Object> IReadOnlyDictionary<string, object> IReadOnlyDictionary<string, object> IReadOnlyDictionary<string, object>

The changed properties.

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 PnpObjectType
var pnpObjectType = pnpObjectUpdate.type;
See Also