Removes an object by index from the collection.
public virtual void Remove( int index )
Public Overridable Sub Remove ( index As Integer )
public: virtual void Remove( int index )
| Exception | Condition |
|---|---|
| ArgumentOutOfRangeException | Thrown when the index is out of range. |
| InvalidOperationException | Thrown when the object is still in use. |