NAnt SDK Documentation - v0.92 |

# NUnit2TestCollection.Contains Method

Determines whether a NUnit2Test is in the collection.

[Visual Basic]
Public Function Contains( _
ByVal item As NUnit2Test _
) As Boolean
[C#]
public bool Contains(
NUnit2Test item
);

#### Parameters

item
  The NUnit2Test to locate in the collection.

#### Return Value

true if item is found in the collection; otherwise, false.

#### See Also

NUnit2TestCollection Class | NAnt.NUnit2.Types Namespace