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)