GameList.GameRemoved イベント
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
GameListEntry が GameList から削除されたことを示します。
public:
static event GameListRemovedEventHandler ^ GameRemoved;
// Register
static event_token GameRemoved(GameListRemovedEventHandler const& handler) const;
// Revoke with event_token
static void GameRemoved(event_token const* cookie) const;
// Revoke with event_revoker
static GameList::GameRemoved_revoker GameRemoved(auto_revoke_t, GameListRemovedEventHandler const& handler) const;
public static event GameListRemovedEventHandler GameRemoved;
function onGameRemoved(eventArgs) { /* Your code */ }
Windows.Gaming.Preview.GamesEnumeration.GameList.addEventListener("gameremoved", onGameRemoved);
Windows.Gaming.Preview.GamesEnumeration.GameList.removeEventListener("gameremoved", onGameRemoved);
- or -
Windows.Gaming.Preview.GamesEnumeration.GameList.ongameremoved = onGameRemoved;
Public Shared Custom Event GameRemoved As GameListRemovedEventHandler
イベントの種類
Windows の要件
アプリの機能 |
gameList
|
注釈
この API は、すべてのアプリで使用できるわけではありません。 開発者アカウントが Microsoft によって特別にプロビジョニングされていない限り、これらの API の呼び出しは実行時に失敗します。