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.165 -- Release Build+e14d337b173ad33e50be6747ce5b02f477f99484
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