Skip to main content

Microsoft.Xbox.Wrappers.XGameSave.Provider.Delete(std::string&)

Deletes a container along with all of its blobs (files).

Syntax

Parameters

containerName _In_
Type: std::string
The name of the container to delete.

Return value

Type: HRESULT This method returns S_OK upon success, or an error code otherwise.

Remarks

You must call the Initialize method before you can call any other method from the Provider class. To delete a single blob from a container, use Delete(std::string&, std::string&). To delete one or more blobs from a container, use Delete(std::string&, BlobNames&).

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