RacingWheel.RacingWheelRemoved 事件
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
當賽車方向盤中斷連線時發出訊號。
// 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)