ListItems.item Method

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

Description

Returns the specified check box list item using an index into the collection.

Syntax

"listItems_var" is a variable referencing a ListItems object.
returnValue = listItems_var.item(index)
"listItems_var" is a variable referencing a ListItems object.

#include <Core/UserInterface/ListItems.h>

returnValue = listItems_var->item(index);

Return Value

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

Parameters

Name Type Description
index uinteger The index of the item within the collection to return. The first item in the collection has an index of 0.

Version

Introduced in version January 2015