Skip to main content

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

Deletes the specified blobs (files) from 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 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 one or more blobs from the specified container, call Delete(std::string&, BlobNames&). To delete a container along with all of its blobs, call Delete(std::string&).

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