Item Property

NAnt SDK Documentation - v0.92 |

# ModuleCollection.Item Property

Gets or sets the item at the specified index.

[Visual Basic]
Public Default Property Item( _
ByVal index As Integer _
) As Module
[C#]
public Module this[
int index
] {get; set;}

#### Parameters

index
  The zero-based index of the item to get or set.

#### 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