共用方式為


RacingWheel.RacingWheelRemoved 事件

定義

當賽車方向盤中斷連線時發出訊號。

// 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) 

事件類型

適用於