| CoreClasses REALbasic Plugin |
|
VariantCollection.Item Method
Use this setter/getter function to get or set element by index.
Item(
Index as Integer) as Variant
Item(
Index as Integer
assigns value as Variant)
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
- Variant
- When using the getter then the requested variant 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
VariantCollection Class