PnpObjectUpdate.Properties Proprietà
Definizione
Importante
Alcune informazioni sono relative alla release non definitiva del prodotto, che potrebbe subire modifiche significative prima della release definitiva. Microsoft non riconosce alcuna garanzia, espressa o implicita, in merito alle informazioni qui fornite.
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à
Proprietà modificate.
Commenti
Per altre informazioni sulle proprietà rappresentate, vedere Proprietà delle informazioni sul dispositivo.