共用方式為


WalletItemSystemStore.ItemsChanged 事件

定義

WalletItemSystemStore 中的專案已變更時發生。

注意

此 API 不適用於所有 Windows 應用程式。 除非您的開發人員帳戶是由 Microsoft 特別布建,否則呼叫這些 API 會在執行時間失敗。

// Register
event_token ItemsChanged(TypedEventHandler<WalletItemSystemStore, IInspectable const&> const& handler) const;

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

// Revoke with event_revoker
WalletItemSystemStore::ItemsChanged_revoker ItemsChanged(auto_revoke_t, TypedEventHandler<WalletItemSystemStore, IInspectable const&> const& handler) const;
/// [add: Windows.Foundation.Metadata.Deprecated("IWalletItemSystemStore2 is deprecated and might not work on all platforms. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 917504, "Windows.Foundation.UniversalApiContract")]
/// [remove: Windows.Foundation.Metadata.Deprecated("IWalletItemSystemStore2 is deprecated and might not work on all platforms. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 917504, "Windows.Foundation.UniversalApiContract")]
// Register
event_token ItemsChanged(TypedEventHandler<WalletItemSystemStore, IInspectable const&> const& handler) const;

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

// Revoke with event_revoker
WalletItemSystemStore::ItemsChanged_revoker ItemsChanged(auto_revoke_t, TypedEventHandler<WalletItemSystemStore, IInspectable const&> const& handler) const;
public event TypedEventHandler<WalletItemSystemStore,object> ItemsChanged;
[add: Windows.Foundation.Metadata.Deprecated("IWalletItemSystemStore2 is deprecated and might not work on all platforms. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 917504, "Windows.Foundation.UniversalApiContract")]
[remove: Windows.Foundation.Metadata.Deprecated("IWalletItemSystemStore2 is deprecated and might not work on all platforms. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 917504, "Windows.Foundation.UniversalApiContract")]
public event TypedEventHandler<WalletItemSystemStore,object> ItemsChanged;
function onItemsChanged(eventArgs) { /* Your code */ }
walletItemSystemStore.addEventListener("itemschanged", onItemsChanged);
walletItemSystemStore.removeEventListener("itemschanged", onItemsChanged);
- or -
walletItemSystemStore.onitemschanged = onItemsChanged;
Public Custom Event ItemsChanged As TypedEventHandler(Of WalletItemSystemStore, Object) 

事件類型

屬性

Windows 需求

應用程式功能
walletSystem

適用於