ContactPickerUI.ContactRemoved 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.
Terjadi ketika pengguna membatalkan pilihan atau menghapus kontak.
// Register
event_token ContactRemoved(TypedEventHandler<ContactPickerUI, ContactRemovedEventArgs const&> const& handler) const;
// Revoke with event_token
void ContactRemoved(event_token const* cookie) const;
// Revoke with event_revoker
ContactPickerUI::ContactRemoved_revoker ContactRemoved(auto_revoke_t, TypedEventHandler<ContactPickerUI, ContactRemovedEventArgs const&> const& handler) const;
public event TypedEventHandler<ContactPickerUI,ContactRemovedEventArgs> ContactRemoved;
function onContactRemoved(eventArgs) { /* Your code */ }
contactPickerUI.addEventListener("contactremoved", onContactRemoved);
contactPickerUI.removeEventListener("contactremoved", onContactRemoved);
- or -
contactPickerUI.oncontactremoved = onContactRemoved;
Public Custom Event ContactRemoved As TypedEventHandler(Of ContactPickerUI, ContactRemovedEventArgs)
Jenis Acara
Persyaratan Windows
Kemampuan aplikasi |
contactsSystem
|