次の方法で共有


GameList.GameRemoved イベント

定義

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 の呼び出しは実行時に失敗します。

適用対象