Freigeben über


SysSpatialInputDeviceWatcher.Removed Ereignis

Definition

Das Ereignis, das ausgelöst wird, wenn ein räumliches Eingabegerät entfernt wird.

Wichtig

Diese API ist nur für Komponenten des Windows-Betriebssystems verfügbar. Aufrufe dieser APIs schlagen zur Laufzeit für alle anderen Prozesse fehl. Diese APIs können in zukünftigen Windows-Releases geändert oder entfernt werden.

// Register
event_token Removed(TypedEventHandler<SysSpatialInputDeviceWatcher, SysSpatialInputDevice const&> const& handler) const;

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

// Revoke with event_revoker
SysSpatialInputDeviceWatcher::Removed_revoker Removed(auto_revoke_t, TypedEventHandler<SysSpatialInputDeviceWatcher, SysSpatialInputDevice const&> const& handler) const;
public event TypedEventHandler<SysSpatialInputDeviceWatcher,SysSpatialInputDevice> Removed;
function onRemoved(eventArgs) { /* Your code */ }
sysSpatialInputDeviceWatcher.addEventListener("removed", onRemoved);
sysSpatialInputDeviceWatcher.removeEventListener("removed", onRemoved);
- or -
sysSpatialInputDeviceWatcher.onremoved = onRemoved;
Public Custom Event Removed As TypedEventHandler(Of SysSpatialInputDeviceWatcher, SysSpatialInputDevice) 

Ereignistyp

Gilt für: