GameListChangedEventHandler 委托

定义

返回已添加到 GameList 或已更新到 GameList 的 GameListEntry

public delegate void GameListChangedEventHandler(GameListEntry ^ game);
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Gaming.Preview.GamesEnumerationContract, 65536)]
/// [Windows.Foundation.Metadata.Guid(636920865, 55541, 19857, 180, 14, 83, 213, 232, 111, 222, 100)]
class GameListChangedEventHandler : MulticastDelegate
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Gaming.Preview.GamesEnumerationContract), 65536)]
[Windows.Foundation.Metadata.Guid(636920865, 55541, 19857, 180, 14, 83, 213, 232, 111, 222, 100)]
public delegate void GameListChangedEventHandler(GameListEntry game);
var gameListChangedEventHandlerHandler = function(game){
/* Your code */
}
Public Delegate Sub GameListChangedEventHandler(game As GameListEntry)

参数

属性

Windows 要求

设备系列
Windows Desktop Extension SDK (在 10.0.10240.0 中引入)
Windows Mobile Extension SDK (在 10.0.10240.0 中引入)
API contract
Windows.Gaming.Preview.GamesEnumerationContract (在 v1.0 中引入)
应用功能
gameList

注解

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

适用于