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

TdxCloudStorage.MoveFileToTrash(TdxCloudStorageFile) Method

Moves the specified cloud storage file to the “Trash” special folder.

#Declaration

Delphi
procedure MoveFileToTrash(AFile: TdxCloudStorageFile);

#Parameters

Name Type Description
AFile TdxCloudStorageFile

A metadata container that corresponds to the target file.

#Remarks

A MoveToTrash procedure call has no effect if the target file is already within the “Trash” folder (that is, the file’s Trashed property returns True).

A successful MoveToTrash procedure call raises the [OnItemMovedToTrash] event. If an error occurs, the cloud storage component raises the OnError event.

Note

The MoveToTrash procedure always runs in the same thread from which it was invoked.

See Also