DeviceWatcher.EnumerationCompleted イベント

定義

デバイスの列挙が完了したときに発生するイベント。

// Register
event_token EnumerationCompleted(TypedEventHandler<DeviceWatcher, IInspectable const&> const& handler) const;

// Revoke with event_token
void EnumerationCompleted(event_token const* cookie) const;

// Revoke with event_revoker
DeviceWatcher::EnumerationCompleted_revoker EnumerationCompleted(auto_revoke_t, TypedEventHandler<DeviceWatcher, IInspectable const&> const& handler) const;
public event TypedEventHandler<DeviceWatcher,object> EnumerationCompleted;
function onEnumerationCompleted(eventArgs) { /* Your code */ }
deviceWatcher.addEventListener("enumerationcompleted", onEnumerationCompleted);
deviceWatcher.removeEventListener("enumerationcompleted", onEnumerationCompleted);
- or -
deviceWatcher.onenumerationcompleted = onEnumerationCompleted;
Public Custom Event EnumerationCompleted As TypedEventHandler(Of DeviceWatcher, Object) 

イベントの種類

適用対象

こちらもご覧ください