NAnt SDK Documentation - v0.92 |

# NUnit2TestCollection.Add Method

Adds a NUnit2Test to the end of the collection.

[Visual Basic]
Public Function Add( _
ByVal item As NUnit2Test _
) As Integer
[C#]
public int Add(
NUnit2Test item
);

#### Parameters

item
  The NUnit2Test to be added to the end of the collection.

#### Return Value

The position into which the new element was inserted.

#### See Also

NUnit2TestCollection Class | NAnt.NUnit2.Types Namespace