Files Collection - Item Property

Provides access to a particular item in a collection

Member of Files Collection (PRIM_WEB.Files)

Data Type - PRIM_WEB.File - File object selected using the file picker etc.

Parameters

NameTypeData TypeDescription
Key*InputUnicode StringKey used to access the collection item

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