CoreClasses Xojo Plugin

ObjectArray.Item Method (console safe)

Use this setter/getter function to read or write to a item in the array.

Item(
   n as Integer) as Object

Item(
   n as Integer
   assigns value as Object)

Parameters

n
Use this parameter to specify which item to read from or write to.
value (assignment parameter)
The object to assign when using the setter function.

Returns

Object
The requested object when using the getter function.

Remarks

The GetAt/SetAt functions do the same. The GetAt/SetAt functions are there to supply a correct interface signature to support certain interfaces.

Note:
ObjectArray is 0 based, that is the first item is number 0.

See Also

ObjectArray Class