Use this method to add remove object from the collection by a given index.
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.