次の方法で共有


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

適用対象