NAnt SDK Documentation - v0.92 |

# NUnit2TestCollection.Insert Method

Inserts a NUnit2Test into the collection at the specified index.

[Visual Basic]
Public Sub Insert( _
ByVal index As Integer, _
ByVal item As NUnit2Test _
)
[C#]
public void Insert(
int index,
NUnit2Test item
);

#### Parameters

index
  The zero-based index at which item should be inserted.
item
  The NUnit2Test to insert.

#### See Also

NUnit2TestCollection Class | NAnt.NUnit2.Types Namespace