CloudFileDialog.dataFiles Property

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

Description

Gets the DataFiles specified by the user in the dialog. This property is used after the ShowOpen method has been called to retrieve the DataFiles specified by the user.

If ShowOpen is used and isMultiSelectEnabled is true, the user is able to select more than one file. This property returns all of the files that were selected.

Syntax

"cloudFileDialog_var" is a variable referencing a CloudFileDialog object.

# Get the value of the property.
propertyValue = cloudFileDialog_var.dataFiles
"cloudFileDialog_var" is a variable referencing a CloudFileDialog object.
#include <Core/UserInterface/CloudFileDialog.h>

// Get the value of the property.
std::vector<Ptr<DataFile>> propertyValue = cloudFileDialog_var->dataFiles();

Property Value

This is a read only property whose value is an array of type DataFile.

Version

Introduced in version October 2022