次の方法で共有


ContactDataProviderConnection.CreateOrUpdateContactRequested イベント

定義

クライアント アプリが連絡先の作成または更新を試みたときに発生します。

// Register
event_token CreateOrUpdateContactRequested(TypedEventHandler<ContactDataProviderConnection, ContactListCreateOrUpdateContactRequestEventArgs const&> const& handler) const;

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

// Revoke with event_revoker
ContactDataProviderConnection::CreateOrUpdateContactRequested_revoker CreateOrUpdateContactRequested(auto_revoke_t, TypedEventHandler<ContactDataProviderConnection, ContactListCreateOrUpdateContactRequestEventArgs const&> const& handler) const;
public event TypedEventHandler<ContactDataProviderConnection,ContactListCreateOrUpdateContactRequestEventArgs> CreateOrUpdateContactRequested;
function onCreateOrUpdateContactRequested(eventArgs) { /* Your code */ }
contactDataProviderConnection.addEventListener("createorupdatecontactrequested", onCreateOrUpdateContactRequested);
contactDataProviderConnection.removeEventListener("createorupdatecontactrequested", onCreateOrUpdateContactRequested);
- or -
contactDataProviderConnection.oncreateorupdatecontactrequested = onCreateOrUpdateContactRequested;
Public Custom Event CreateOrUpdateContactRequested As TypedEventHandler(Of ContactDataProviderConnection, ContactListCreateOrUpdateContactRequestEventArgs) 

イベントの種類

Windows の要件

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

適用対象