Collection
From Pointui
Basic implementation of a collection which can contain zero or more script objects.
Contents |
Methods
void Add(Object object)
Adds an object to the collection – this can be any type of object supported by scripting.
void Remove(int index)
Removes the object at the specified index from the collection. The first item in the collection has an index of zero.
void Clear()
Removes all items from the collection.
Object Item(int index)
Returns the item at the specified index within the collection. The first item in the collection has an index of zero.
int GetCount()
Returns the number of items in the collection.
