DataFile.promote Method

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

Description

Promotes this version to be the latest version. If this is the latest version, nothing happens.

Syntax

"dataFile_var" is a variable referencing a DataFile object.
returnValue = dataFile_var.promote()
"dataFile_var" is a variable referencing a DataFile object.

#include <Core/Dashboard/DataFile.h>

returnValue = dataFile_var->promote();

Return Value

Type Description
boolean Returns true if successful.

Version

Introduced in version September 2016