Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

TdxCloudStorageItem.Delete Method

In This Article

Deletes the online resource.

#Declaration

Delphi
procedure Delete; virtual;

#Remarks

Call this procedure to permanently delete the file or folder corresponding to the current metadata container from the connected cloud storage. If the deleted resource is a non-empty folder, the Delete procedure also erases all nested files and folders. This delete operation can take a noticeable amount of time depending on the deleted resource count.

A Delete procedure call raises an exception if the online resource is impossible to delete. For instance, you cannot delete root and special folders. Refer to the descriptions of the Delete procedure implementations provided by TdxCloudStorageItem class descendants for additional information.

Note

A single Delete procedure call sends only a single resource delete request to the connected cloud storage’s server regardless of the nested resource count. The cloud storage component raises the OnItemDeleted event once per every successful resource delete request. If a Delete procedure call results in an error, the OnError event occurs instead.

See Also