CoreClasses Xojo Plugin

ObjectSet.Remove Method (console safe)

Use this method to add remove object from the collection by a given index.

Remove(
   Index as Integer)

Parameters

Index
The index of the object to remove.

Remarks

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

A error code -2 will be generated if the index is out of bounds. The error result can be read with the LastError property.

See Also

ObjectSet Class