Skip to main content

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

Deletes one or more blobs (files) from the specified container.

Syntax

Parameters

containerName _In_
Type: std::string
The name of the container. toDelete _In_
Type: BlobNames
A vector that contains the names of the blobs to delete.

Return value

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

Remarks

This method deletes the blobs named in the BlobNames vector. 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&).

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