ArcadeStick.ArcadeStickRemoved Kejadian
Definisi
Penting
Beberapa informasi terkait produk prarilis yang dapat diubah secara signifikan sebelum dirilis. Microsoft tidak memberikan jaminan, tersirat maupun tersurat, sehubungan dengan informasi yang diberikan di sini.
Sinyal ketika tongkat arkade terputus.
// Register
static event_token ArcadeStickRemoved(EventHandler<ArcadeStick> const& handler) const;
// Revoke with event_token
static void ArcadeStickRemoved(event_token const* cookie) const;
// Revoke with event_revoker
static ArcadeStick::ArcadeStickRemoved_revoker ArcadeStickRemoved(auto_revoke_t, EventHandler<ArcadeStick> const& handler) const;
public static event System.EventHandler<ArcadeStick> ArcadeStickRemoved;
function onArcadeStickRemoved(eventArgs) { /* Your code */ }
Windows.Gaming.Input.ArcadeStick.addEventListener("arcadestickremoved", onArcadeStickRemoved);
Windows.Gaming.Input.ArcadeStick.removeEventListener("arcadestickremoved", onArcadeStickRemoved);
- or -
Windows.Gaming.Input.ArcadeStick.onarcadestickremoved = onArcadeStickRemoved;
Public Shared Custom Event ArcadeStickRemoved As EventHandler(Of ArcadeStick)