Gemstone Common Library
Show/Hide TOC

# ListCollection T RemoveAt 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.150 -- Release Build+64e3b411e1abfbd2d4d8a81e850c3909a0ce8731
C#
View Source Request Example

    public void RemoveAt(
    	int index
    )

VB
View Source Request Example

    Public Sub RemoveAt (
    	index As Integer
    )

C++
View Source Request Example

    public:
    virtual void RemoveAt(
    	int index
    ) sealed

JavaScript
View Source Request Example

    function RemoveAt(index);

#### Parameters

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

#### Implements

IListT RemoveAt(Int32)
IListRemoveAt(Int32)

## Exceptions

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

## See Also

#### Reference

ListCollectionT Class
Gemstone.Collections Namespace