Skip to main content

Microsoft.Xbox.Wrappers.XGameSave.Provider.Load

Loads the data from the given blob (file), from within the specified container.

Syntax

Parameters

containerName _In_
Type: std::string
The name of the container. blobName _In_
Type: std::string
The name of the blob from which to load data.

Return value

Type: BlobData This method returns a vector containing a bytewise copy of the contents of the blob.

Example

The following example code demonstrates how to use the Load method.

Remarks

This method throws an exception if you call it on the UI thread. If there is no match for the container and blob names, then the returned vector is empty. 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