Skip to main content

TdxCloudStorage.OnItemCopied Event

Enables you to respond to a successful online resource copy operation.

Declaration

property OnItemCopied: TItemChangedEvent read; write;

Remarks

This event occurs every time a cloud storage metadata container‘s CopyTo procedure call successfully copies the corresponding file or folder to a destination folder within cloud file storage. If an attempt to copy a file or folder results in an error, the OnError event occurs instead.

For instance, you can handle the OnItemCopied event to refresh the file storage structure displayed in your application’s UI to reflect the changes when certain files or folders are copied within the same cloud storage. Refer to the TItemChangedEvent nested type description for details on parameters accessible within an OnItemCopied event handler.

Note

An attempt to copy the cloud storage root or any special folder raises an exception rather than the OnError event.

See Also