CoreClasses Xojo Plugin

ObjectCollection.Item Method (console safe)

Use this setter/getter function to get or set element by index.

Item(
   Index as Integer) as Object

Item(
   Index as Integer
   assigns value as Object)

Parameters

Index
The number of the element to get or set.
value (assignment parameter)
When using the setter then this is the object to assign to the collection.

Returns

Object
When using the getter then the requested object is returned, or nil if it was not found.

Remarks

The index is zero based which means that the first element is number 0.

See Also

ObjectCollection Class