Retrieves the index of a specified NUnit2Test object in the collection.
The index of the specified NUnit2Test. If the NUnit2Test is not currently a member of the collection, it returns -1.
NUnit2TestCollection Class | NAnt.NUnit2.Types Namespace