Поделиться через


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 доступен не для всех приложений. Если ваша учетная запись разработчика не специально подготовлена корпорацией Майкрософт, вызовы этих API во время выполнения завершатся ошибкой.

Применяется к