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.160 -- Release Build+19b74ac03cedad8575bb1ceb00051318b7421d0d
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