GameList.GameRemoved Event

Definition

Indicates that a GameListEntry has been removed from the 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 

Event Type

Windows requirements

App capabilities
gameList

Remarks

This API is not available to all apps. Unless your developer account is specially provisioned by Microsoft, calls to these APIs will fail at runtime.

Applies to