GameList.GameRemoved Event
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.