Primitive Collection - Item Property

Provides access to a particular item in a collection

Member of Primitive Collection (PRIM_PCOL)

Data Type - PRIM_OBJT - Base object, use it as the ancestor of components which are not visualized

Parameters

Name Type Data Type Description
Index *Input Integer Index parameter identifies the item in the collection

Details

Reference to an item in the collection accesible via the value supplied in the Index paramete.

Example

Accessing the third item in the collection via the Item property
#Reference <= #Collection.Item<3>
However, as Item is the default property of the collection, there is no need to specify it on the command.
#Reference <= #Collection<3>

See also

All Component Classes

Technical Reference

LANSA Version 15, April 2020