Share via


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

Deletes the specified blobs (files) from the specified container.

Syntax

HRESULT Delete(const std::string& containerName,
               const std::string& blobName);

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
Game saves simplified wrapper