NAnt SDK Documentation - v0.92 |

# ModuleCollection.RemoveAt Method

Removes an item at a specific index.

[Visual Basic]
NotOverridable Public Sub RemoveAt( _
ByVal index As Integer _
) _
Implements IList.RemoveAt
[C#]
public void RemoveAt(
int index
);

#### Parameters

index
  The zero-based index of the item to remove.

#### Implements

IList.RemoveAt

#### Exceptions

Exception Type | Condition
--- | ---
ArgumentOutOfRangeException | The index parameter is less than 0 or greater than or equal to the value of the Count property of the ModuleCollection.

#### See Also

ModuleCollection Class | NAnt.DotNet.Types Namespace