Share via


ContactList.ContactChanged Event

Definition

Occurs when a Contact in this ContactList has been changed.

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

Event Type

Windows requirements

App capabilities
contactsSystem

Applies to