PnpObject.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 superset moderno e gestito meglio 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 crei un PnpObjectWatcher, usa DeviceInformationKind quando crei un DeviceWatcher.
Archivio delle proprietà contenente valori noti e proprietà specificate aggiuntive.
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)
Valore della proprietà
Puntatore all'archivio delle proprietà.
Commenti
Per altre info sulla rappresentazione delle proprietà, vedi Proprietà delle informazioni sul dispositivo.