共用方式為


GameListChangedEventHandler 代理人

定義

傳回已新增或更新至 GameListGameListEntry

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 會在運行時間失敗。

適用於