ContactPickerUI.ContactRemoved 事件

定义

当用户取消选择或删除联系人时发生。

// 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) 

事件类型

Windows 要求

应用功能
contactsSystem

适用于