ContactList.ContactChanged 事件

定义

更改此 ContactList 中的 联系人 时发生。

// Register
event_token ContactChanged(TypedEventHandler<ContactList, ContactChangedEventArgs const&> const& handler) const;

// Revoke with event_token
void ContactChanged(event_token const* cookie) const;

// Revoke with event_revoker
ContactList::ContactChanged_revoker ContactChanged(auto_revoke_t, TypedEventHandler<ContactList, ContactChangedEventArgs const&> const& handler) const;
public event TypedEventHandler<ContactList,ContactChangedEventArgs> ContactChanged;
function onContactChanged(eventArgs) { /* Your code */ }
contactList.addEventListener("contactchanged", onContactChanged);
contactList.removeEventListener("contactchanged", onContactChanged);
- or -
contactList.oncontactchanged = onContactChanged;
Public Custom Event ContactChanged As TypedEventHandler(Of ContactList, ContactChangedEventArgs) 

事件类型

Windows 要求

应用功能
contactsSystem

适用于