Gemstone Common Library
Show/Hide TOC

# ListCollection T RemoveItem Method

Removes the element at the specified index of the CollectionT.

## Definition

Namespace: Gemstone.Collections
Assembly: Gemstone.Common (in Gemstone.Common.dll) Version: 1.0.151 -- Release Build+cb63b4525778c53d196bb55bacd9a49fac1f0f07
C#
View Source Request Example

    protected override void RemoveItem(
    	int index
    )

VB
View Source Request Example

    Protected Overrides Sub RemoveItem (
    	index As Integer
    )

C++
View Source Request Example

    protected:
    virtual void RemoveItem(
    	int index
    ) override

JavaScript
View Source Request Example

    function RemoveItem(index);

#### Parameters

index Int32
  The zero-based index of the element to remove.

## Exceptions

ArgumentOutOfRangeException | index is less than zero.-or-index is equal to or greater than Count.

## See Also

#### Reference

ListCollectionT Class
Gemstone.Collections Namespace