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所指示之裝置的類型。

適用於