GameListRemovedEventHandler 委托

定义

返回已从 GameList 中删除的 GameListEntry 的标识符

public delegate void GameListRemovedEventHandler(Platform::String ^ identifier);
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Gaming.Preview.GamesEnumerationContract, 65536)]
/// [Windows.Foundation.Metadata.Guid(281371791, 27791, 18194, 155, 56, 71, 75, 194, 46, 118, 216)]
class GameListRemovedEventHandler : MulticastDelegate
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Gaming.Preview.GamesEnumerationContract), 65536)]
[Windows.Foundation.Metadata.Guid(281371791, 27791, 18194, 155, 56, 71, 75, 194, 46, 118, 216)]
public delegate void GameListRemovedEventHandler(string identifier);
var gameListRemovedEventHandlerHandler = function(identifier){
/* Your code */
}
Public Delegate Sub GameListRemovedEventHandler(identifier As String)

参数

identifier
String

Platform::String

winrt::hstring

属性

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 的调用将在运行时失败。

适用于