TdxCloudStorage.MoveFolderToTrash(TdxCloudStorageFolder) Method
Moves the specified cloud storage folder to the “Trash” special folder.
#Declaration
procedure MoveFolderToTrash(AFolder: TdxCloudStorageFolder);
#Parameters
Name | Type | Description |
---|---|---|
AFolder | Tdx |
A metadata container that corresponds to the target folder. |
#Remarks
This procedure moves every nested file and folder at all nesting levels to the trash. The trash operation can take a noticeable amount of time depending on the total resource count. If the target folder is already within the “Trash” folder (that is, the folder’s Trashed property returns True), a MoveToTrash procedure call has no effect.
A MoveToTrash procedure call raises an exception if the specified folder does not support this operation. For instance, you cannot place a special or root folder in the “Trash” folder.
Note
The Move