DataFileFuture.dataFile Property

Parent Object: DataFileFuture
Defined in namespace "adsk::core" and the header file is <Core/Dashboard/DataFileFuture.h>

Description

Returns the DataFile when the upload is complete (uplodeState returns UploadFinished). Returns null if the upload is still running or has failed.

Syntax

"dataFileFuture_var" is a variable referencing a DataFileFuture object.

# Get the value of the property.
propertyValue = dataFileFuture_var.dataFile
"dataFileFuture_var" is a variable referencing a DataFileFuture object.
#include <Core/Dashboard/DataFileFuture.h>

// Get the value of the property.
Ptr<DataFile> propertyValue = dataFileFuture_var->dataFile();

Property Value

This is a read only property whose value is a DataFile.

Version

Introduced in version March 2015