CoreClasses Xojo Plugin

VariantCollection.Item Method (console safe)

Use this setter/getter function to get or set element by a object key.

Item(
   key as Object) as Variant

Item(
   key as Object
   assigns value as Variant)

Parameters

key
The object key for the element to get or set.
value (assignment parameter)
When using the setter then this is the variant 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

See Also

VariantCollection Class