DeviceWatcherEvent クラス

定義

初期列挙が完了した後にデバイスの一覧が更新されたときにトリガーされます。

public ref class DeviceWatcherEvent sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
class DeviceWatcherEvent final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
public sealed class DeviceWatcherEvent
Public NotInheritable Class DeviceWatcherEvent
継承
Object Platform::Object IInspectable DeviceWatcherEvent
属性

Windows の要件

デバイス ファミリ
Windows 10 (10.0.10240.0 で導入)
API contract
Windows.Foundation.UniversalApiContract (v1.0 で導入)

プロパティ

DeviceInformation

DeviceWatcherEvent に関連付けられているデバイスの情報を取得します。

DeviceInformationUpdate

DeviceWatcherEvent によって更新されたデバイスの更新された情報を取得します。

Kind

DeviceWatcherEvent によって示されるデバイスの型を取得します。

適用対象