DataEventArgs.file Property

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

Description

Gets the DataFile object associated with this event. If there isn't a DataFile associated with the event, this property will return null.

Syntax

"dataEventArgs_var" is a variable referencing a DataEventArgs object.

# Get the value of the property.
propertyValue = dataEventArgs_var.file
"dataEventArgs_var" is a variable referencing a DataEventArgs object.
#include <Core/Dashboard/DataEventArgs.h>

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

Property Value

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

Version

Introduced in version January 2022