Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

TdxCloudStorage.TFileContentUploadingEvent Type

The nested procedural type of the existing file update initiation event.

#Declaration

Delphi
TFileContentUploadingEvent = procedure(Sender: TObject; const AFile: TdxCloudStorageFile; const ASize: Integer) of object;

#Parameters

Name Type Description
Sender TObject

The cloud storage component that started a file update process.

AFile TdxCloudStorageFile

The file metadata container that corresponds to the updated file.

ASize Integer

The updated content size, in bytes.

#Remarks

The Sender parameter provides access to the cloud storage component that raised the file update initiation event. To access the cloud storage component’s class members within a TFileContentUploadingEvent event handler, cast the parameter value to the TdxCloudStorage class.

The AFile parameter provides access to the cloud file metadata container that corresponds to the existing file that the content upload routine has started to update on the connected online storage service’s server from a local data stream.

The ASize parameter returns the number of bytes that the content upload routine is supposed to copy from the source data stream to the connected server. You can use this value to estimate the overall content update progress in a TFileContentUploadEvent event handler.

Note

The returned content size (ASize) does not always match the actual size of the source data stream.

See Also