UploadProgress Class

Represents the progress for a file upload operation.
Inheritance Hierarchy
SystemObject
  Tekla.Structures.Model.Internal.BimModelDataProduct.TypesUploadProgress

Namespace:  Tekla.Structures.Model.Internal.BimModelDataProduct.Types
Assembly:  Tekla.Structures.Model (in Tekla.Structures.Model.dll) Version: 2026.0.0-alpha00057080+93cd22c410a086ecc356b7088d4daaf2e12907eb
Syntax
public sealed class UploadProgress

The UploadProgress type exposes the following members.

Constructors
  NameDescription
Public methodUploadProgress
Initializes a new instance of the UploadProgress class with known total size.
Top
Properties
  NameDescription
Public propertyPercentComplete
Gets the upload progress as a percentage (0-100). If total is unknown, returns null. If null, it indicates we can't determine the completed percentage as we don't know the total size. UI should handle this case appropriately (e.g don't show percentage of completion but bytes upload).
Public propertyTotalBytes
Gets the total number of bytes to upload, 0 if total is unknown.
Public propertyUploadedBytes
Gets the number of bytes uploaded so far.
Top
See Also
Was this helpful?
The feedback you give here is not visible to other users. We use your comments to improve the content.
Previous
Next