Dela via


RacingWheel.RacingWheelRemoved Event

Definition

Signals when a racing wheel is disconnected.

// Register
static event_token RacingWheelRemoved(EventHandler<RacingWheel> const& handler) const;

// Revoke with event_token
static void RacingWheelRemoved(event_token const* cookie) const;

// Revoke with event_revoker
static RacingWheel::RacingWheelRemoved_revoker RacingWheelRemoved(auto_revoke_t, EventHandler<RacingWheel> const& handler) const;
public static event System.EventHandler<RacingWheel> RacingWheelRemoved;
function onRacingWheelRemoved(eventArgs) { /* Your code */ }
Windows.Gaming.Input.RacingWheel.addEventListener("racingwheelremoved", onRacingWheelRemoved);
Windows.Gaming.Input.RacingWheel.removeEventListener("racingwheelremoved", onRacingWheelRemoved);
- or -
Windows.Gaming.Input.RacingWheel.onracingwheelremoved = onRacingWheelRemoved;
Public Shared Custom Event RacingWheelRemoved As EventHandler(Of RacingWheel) 

Event Type

Applies to