List Collection - Item Property

Provides access to a particular item in a collection

Member of List Collection (PRIM_LCOL)

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

Parameters

NameTypeData TypeDescription
Index*InputIntegerIndex parameter identifies the item in the collection

Details

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

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