TdxCloudStorage.OnItemMoved Event
Notifies that an online resource is successfully moved to another folder within the connected cloud file storage.
Declaration
property OnItemMoved: TItemChangedEvent read; write;
Remarks
This event occurs every time a cloud storage metadata container‘s MoveTo procedure call successfully moves the corresponding file or folder to a destination folder within the cloud file storage. If an attempt to move a file or folder results in an error, the OnError event occurs instead.
For instance, you can handle the OnItemMoved event to refresh the file storage structure displayed in your application’s UI to reflect the changes when certain files or folders are moved within the same cloud storage. Refer to the TItemChangedEvent nested type description for details on parameters accessible within an OnItemMoved event handler.
Note
An attempt to move the cloud storage root or any special folder raises an exception rather than the OnError event.