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.173 -- Release Build+298e1c238b074757f82f41812034645402a162ed
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