RacingWheel.RacingWheelAdded 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 roda balap baru terhubung.
// Register
static event_token RacingWheelAdded(EventHandler<RacingWheel> const& handler) const;
// Revoke with event_token
static void RacingWheelAdded(event_token const* cookie) const;
// Revoke with event_revoker
static RacingWheel::RacingWheelAdded_revoker RacingWheelAdded(auto_revoke_t, EventHandler<RacingWheel> const& handler) const;
public static event System.EventHandler<RacingWheel> RacingWheelAdded;
function onRacingWheelAdded(eventArgs) { /* Your code */ }
Windows.Gaming.Input.RacingWheel.addEventListener("racingwheeladded", onRacingWheelAdded);
Windows.Gaming.Input.RacingWheel.removeEventListener("racingwheeladded", onRacingWheelAdded);
- or -
Windows.Gaming.Input.RacingWheel.onracingwheeladded = onRacingWheelAdded;
Public Shared Custom Event RacingWheelAdded As EventHandler(Of RacingWheel)
Jenis Acara
Keterangan
Untuk mengidentifikasi roda balap yang telah ditambahkan, Anda meminta daftar roda balap yang terhubung menggunakan RacingWheel.RacingWheels.