共用方式為


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

適用於