Skip to main content

FilesUploadPart Constructors

An object defining constructors for the FilesUploadPart class.

FilesUploadPart(data, parts)

Initializes a new instance of the FilesUploadPart class with the specified file data and upload parts.

Parameters:

data (required): byte[]
The binary data of the file to be uploaded.

parts (required): List<UploadPart>
The list of upload parts that define how the file should be uploaded.

This constructor creates a new instance by associating the provided file data with its corresponding upload parts specifications. It initializes both the Data and Parts properties to enable the upload process.