DataHubs.item Method

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

Description

Returns the specified hub.

Syntax

"dataHubs_var" is a variable referencing a DataHubs object.
returnValue = dataHubs_var.item(index)
"dataHubs_var" is a variable referencing a DataHubs object.

#include <Core/Dashboard/DataHubs.h>

returnValue = dataHubs_var->item(index);

Return Value

Type Description
DataHub Returns the specified item or null if an invalid index was specified.

Parameters

Name Type Description
index uinteger The index of the hub to return. The first hub in the list has an index of 0.

Version

Introduced in version September 2016