Skip to main content

Microsoft.Xbox.Wrappers.XGameSave.Provider.QueryContainers

Returns a vector of container names that match the supplied name prefix.

Syntax

Parameters

prefix _In_
Type: std::string
The prefix of the name of the containers to search for. If you specify an empty string for the prefix, then this method returns all of the container names.

Return value

Type: ContainerNames Returns a vector of container names that match the search conditions.

Remarks

If you specify an empty string for the prefix, then this method returns all of the container names. You can search for a container by specifying its name, instead of a prefix of it. You must call the Initialize method before you can call any other method from the Provider class.

Requirements

Header: xgamesavewrappers.hpp Supported platforms: Windows, XBOX One family consoles and XBOX Series consoles

See also

Microsoft.Xbox.Wrappers.XGameSave.Provider
XGameSave wrapper members
Last modified on August 20, 2026