Skip to main content

TdxCloudStorage.TItemUploadedEvent Type

The nested procedural type of the file upload success notification event.

Declaration

TItemUploadedEvent = procedure(Sender: TObject; const AItem: TdxCloudStorageItem) of object;

Parameters

Name Type Description
Sender TObject

The cloud storage component that uploaded a file to the connected server.

AItem TdxCloudStorageItem

The resource metadata container that corresponds to the uploaded file.

Remarks

The Sender parameter provides access to the cloud storage component that raised the file upload success notification event. To access the cloud storage component’s class members within a TItemUploadedEvent event handler, cast the parameter value to the TdxCloudStorage class.

The AItem parameter returns the cloud file metadata container that corresponds to the newly created file on the connected online storage service’s server. Cast the AItem parameter value to the TdxCloudStorageFile class to access all class-specific members that file metadata containers have.

The OnItemUploaded event references the TItemUploadedEvent nested procedural type.

See Also