Products.item Method
Parent Object:
ProductsDefined in namespace "adsk::core" and the header file is <Core/Application/Products.h>
Description
Function that returns the specified product using an index into the collection.
Syntax
"products_var" is a variable referencing a Products object.returnValue = products_var.item(index)
|
"products_var" is a variable referencing a Products object.
#include <Core/Application/Products.h>
returnValue = products_var->item(index);
|
Return Value
Product |
Returns the specified item or null if an invalid index was specified. |
Parameters
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 August 2014