Udostępnij za pośrednictwem


GameSaveContainerInfoQuery Class

Definition

Enumerates game save containers within a game save provider.

public ref class GameSaveContainerInfoQuery sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Gaming.XboxLive.StorageApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
class GameSaveContainerInfoQuery final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Gaming.XboxLive.StorageApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
public sealed class GameSaveContainerInfoQuery
Public NotInheritable Class GameSaveContainerInfoQuery
Inheritance
Object Platform::Object IInspectable GameSaveContainerInfoQuery
Attributes

Windows requirements

Device family
Xbox Live Extension SDK (introduced in 10.0.10240.0)
Windows 10 Fall Creators Update (introduced in 10.0.16299.0)
API contract
Windows.Gaming.XboxLive.StorageApiContract (introduced in v1.0)

Remarks

Use GameSaveProvider.CreateContainerInfoQuery to create a GameSaveContainerInfoQuery instance.

Important

This API is targeted towards UWP games and apps with Xbox Live Enabled. Calls to these APIs made from sources that are not Xbox Live enabled will not be able to sync data to the cloud.

Methods

GetContainerInfoAsync()

Asynchronously retrieves information for all game save containers that match this query. Containers are enumerated in order of the most recently modified first.

GetContainerInfoAsync(UInt32, UInt32)

Asynchronously retrieves information for the specified subset of game save containers that match this query. Containers are enumerated in order of the most recently modified first.

GetItemCountAsync()

Retrieves the number of containers that match the query that created this GameSaveContainerInfoQuery object.

Applies to

See also