GameList.GameUpdated 事件

定义

指示 GameListEntry 已在 GameList 中更新

public:
 static event GameListChangedEventHandler ^ GameUpdated;
// Register
static event_token GameUpdated(GameListChangedEventHandler const& handler) const;

// Revoke with event_token
static void GameUpdated(event_token const* cookie) const;

// Revoke with event_revoker
static GameList::GameUpdated_revoker GameUpdated(auto_revoke_t, GameListChangedEventHandler const& handler) const;
public static event GameListChangedEventHandler GameUpdated;
function onGameUpdated(eventArgs) { /* Your code */ }
Windows.Gaming.Preview.GamesEnumeration.GameList.addEventListener("gameupdated", onGameUpdated);
Windows.Gaming.Preview.GamesEnumeration.GameList.removeEventListener("gameupdated", onGameUpdated);
- or -
Windows.Gaming.Preview.GamesEnumeration.GameList.ongameupdated = onGameUpdated;
Public Shared Custom Event GameUpdated As GameListChangedEventHandler 

事件类型

Windows 要求

应用功能
gameList

注解

此 API 并非适用于所有应用。 除非你的开发人员帐户由 Microsoft 专门预配,否则对这些 API 的调用将在运行时失败。

适用于