Condividi tramite


PnpObjectUpdate.Properties Proprietà

Definizione

Importante

Non è più consigliabile usare i tipi nello spazio dei nomi Windows.Devices.Enumeration.Pnp . I tipi nello spazio dei nomi Windows.Devices.Enumeration implementano invece un oggetto moderno e gestito meglio, superset delle funzionalità di Windows.Devices.Enumeration.Pnp.

L'alternativa a PnpObjectType è l'enumerazione Windows.Devices.Enumeration.DeviceInformationKind , che è possibile passare come parametro alle API Windows.Devices.Enumeration . Ad esempio, anziché usare PnpObjectType quando si crea un PnpObjectWatcher, usare DeviceInformationKind quando si crea un DeviceWatcher.

Le proprietà modificate in un aggiornamento a un PnpObject.

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 = pnpObjectUpdate.properties;
Public ReadOnly Property Properties As IReadOnlyDictionary(Of String, Object)

Valore della proprietà

IMapView<String,Object>

IReadOnlyDictionary<String,Object>

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

IMapView<winrt::hstring,IInspectable>

Proprietà modificate.

Commenti

Per altre informazioni sulle proprietà rappresentate, vedere Proprietà delle informazioni sul dispositivo.

Si applica a

Vedi anche