ListItem.index Property

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

Description

Gets the index position within the list of this item.

Syntax

"listItem_var" is a variable referencing a ListItem object.

# Get the value of the property.
propertyValue = listItem_var.index
"listItem_var" is a variable referencing a ListItem object.
#include <Core/UserInterface/ListItem.h>

// Get the value of the property.
integer propertyValue = listItem_var->index();

Property Value

This is a read only property whose value is an integer.

Version

Introduced in version January 2015