次の方法で共有


UserDataAccountStore.StoreChanged イベント

定義

UserDataAccountStore が変更されたときに発生します。

// Register
event_token StoreChanged(TypedEventHandler<UserDataAccountStore, UserDataAccountStoreChangedEventArgs const&> const& handler) const;

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

// Revoke with event_revoker
UserDataAccountStore::StoreChanged_revoker StoreChanged(auto_revoke_t, TypedEventHandler<UserDataAccountStore, UserDataAccountStoreChangedEventArgs const&> const& handler) const;
public event TypedEventHandler<UserDataAccountStore,UserDataAccountStoreChangedEventArgs> StoreChanged;
function onStoreChanged(eventArgs) { /* Your code */ }
userDataAccountStore.addEventListener("storechanged", onStoreChanged);
userDataAccountStore.removeEventListener("storechanged", onStoreChanged);
- or -
userDataAccountStore.onstorechanged = onStoreChanged;
Public Custom Event StoreChanged As TypedEventHandler(Of UserDataAccountStore, UserDataAccountStoreChangedEventArgs) 

イベントの種類

Windows の要件

デバイス ファミリ
Windows 10 Anniversary Edition (10.0.14393.0 で導入)
API contract
Windows.Foundation.UniversalApiContract (v3.0 で導入)

適用対象