RacingWheel.RacingWheelRemoved Event
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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)