次の方法で共有


PnpObject.Properties プロパティ

定義

重要

Windows.Devices.Enumeration.Pnp 名前空間で型を使用することはお勧めしません。 代わりに、Windows.Devices.Enumeration 名前空間の型は、Windows.Devices.Enumeration.Pnp の機能の最新の、より適切に保守されたスーパーセットを実装します。

PnpObjectType の代わりに、Windows.Devices.Enumeration.DeviceInformationKind 列挙型があり、パラメーターとして Windows.Devices.Enumeration API に渡すことができます。 たとえば、PnpObjectWatcher を作成するときに PnpObjectType を使用する代わりに、DeviceWatcher を作成するときに DeviceInformationKind を使用します。

既知の値と追加の指定されたプロパティを含むプロパティ ストア。

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)

プロパティ値

IMapView<String,Object>

IReadOnlyDictionary<String,Object>

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

IMapView<winrt::hstring,IInspectable>

プロパティ ストアへのポインター。

注釈

プロパティが表す内容の詳細については、「 デバイス情報のプロパティ」を参照してください。

適用対象