GameListEntry Clase

Definición

Proporciona información de pantalla de un juego, como su información de pantalla, parámetros de inicio y configuración del modo de juego, categoría y un método para iniciar el juego.

public ref class GameListEntry sealed : IGameListEntry
public ref class GameListEntry sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Gaming.Preview.GamesEnumerationContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class GameListEntry final : IGameListEntry
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Gaming.Preview.GamesEnumerationContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class GameListEntry final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Gaming.Preview.GamesEnumerationContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class GameListEntry : IGameListEntry
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Gaming.Preview.GamesEnumerationContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class GameListEntry
Public NotInheritable Class GameListEntry
Implements IGameListEntry
Public NotInheritable Class GameListEntry
Herencia
Object Platform::Object IInspectable GameListEntry
Atributos
Implementaciones

Requisitos de Windows

Familia de dispositivos
Windows Desktop Extension SDK (se introdujo en la versión 10.0.10240.0)
Windows Mobile Extension SDK (se introdujo en la versión 10.0.10240.0)
API contract
Windows.Gaming.Preview.GamesEnumerationContract (se introdujo en la versión v1.0)
Características de aplicaciones
gameList

Comentarios

Esta API no está disponible para todas las aplicaciones. A menos que Microsoft aprovisione especialmente la cuenta de desarrollador, se producirá un error en las llamadas a estas API en tiempo de ejecución.

Historial de versiones

Versión de Windows Versión del SDK Valor agregado
1709 16299 GameModeConfiguration
1709 16299 LaunchableState
1709 16299 LauncherExecutable
1709 16299 LaunchParameters
1709 16299 SetLauncherExecutableFileAsync(IStorageFile)
1709 16299 SetLauncherExecutableFileAsync(IStorageFile,String)
1709 16299 SetTitleIdAsync
1709 16299 TitleId

Propiedades

Category

Valor gameListCategory actual para el objeto IGameListEntry asociado.

DisplayInfo

Esta API no está disponible para todas las aplicaciones. A menos que Microsoft aprovisione especialmente la cuenta de desarrollador, se producirá un error en las llamadas a estas API en tiempo de ejecución.

GameModeConfiguration

Configuración actual de GameModeConfiguration del juego

LaunchableState

GameListEntryLaunchableState actual del juego

LauncherExecutable

Ruta de acceso al ejecutable del juego.

LaunchParameters

Los parámetros de inicio actuales del juego.

Properties

Obtiene una colección de todas las propiedades que pertenecen al objeto IGameListEntry .

TitleId

TitleId del juego podría volver con una cadena vacía.

Métodos

LaunchAsync()

Inicie el juego asociado.

SetCategoryAsync(GameListCategory)

Establece GameListCategory.

SetLauncherExecutableFileAsync(IStorageFile)

Establece la ruta de acceso de inicio para el ejecutable del juego y los parámetros de inicio. Esto puede producir un error si LaunchableState está establecido en ByTitle.

SetLauncherExecutableFileAsync(IStorageFile, String)

Establece la ruta de acceso de inicio para el ejecutable del juego. Esto puede producir un error si LaunchableState está establecido en ByTitle.

SetTitleIdAsync(String)

Novedades titleID.

Se aplica a

Consulte también