TdxCloudStorage.MoveFileToTrash(TdxCloudStorageFile) Method
Moves the specified cloud storage file to the “Trash” special folder.
Declaration
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