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.176 -- Release Build+c74560d581224bfee7a285d73926fb4fb3df8ece
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