次の方法で共有


ContactDataProviderConnection.DeleteContactRequested イベント

定義

クライアント アプリが連絡先の削除を試みたときに発生します。

// Register
event_token DeleteContactRequested(TypedEventHandler<ContactDataProviderConnection, ContactListDeleteContactRequestEventArgs const&> const& handler) const;

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

// Revoke with event_revoker
ContactDataProviderConnection::DeleteContactRequested_revoker DeleteContactRequested(auto_revoke_t, TypedEventHandler<ContactDataProviderConnection, ContactListDeleteContactRequestEventArgs const&> const& handler) const;
public event TypedEventHandler<ContactDataProviderConnection,ContactListDeleteContactRequestEventArgs> DeleteContactRequested;
function onDeleteContactRequested(eventArgs) { /* Your code */ }
contactDataProviderConnection.addEventListener("deletecontactrequested", onDeleteContactRequested);
contactDataProviderConnection.removeEventListener("deletecontactrequested", onDeleteContactRequested);
- or -
contactDataProviderConnection.ondeletecontactrequested = onDeleteContactRequested;
Public Custom Event DeleteContactRequested As TypedEventHandler(Of ContactDataProviderConnection, ContactListDeleteContactRequestEventArgs) 

イベントの種類

Windows の要件

デバイス ファミリ
Windows 10 Fall Creators Update (10.0.16299.0 で導入)
API contract
Windows.Foundation.UniversalApiContract (v5.0 で導入)
アプリの機能
contactsSystem

適用対象