NUnitTestCollection.

IndexOf(NUnitTest) Method

Summary

Retrieves the index of a specified NAnt.NUnit1.Types.NUnitTest object in the collection.
Assembly
NAnt.NUnit1.dll
Namespace
NAnt.NUnit1.Types
Containing Type
NUnitTestCollection

Syntax

public int IndexOf(NUnitTest item)

Parameters

Name Type Description
item NUnitTest The NAnt.NUnit1.Types.NUnitTest object for which the index is returned.

Return Value

Type Description
int The index of the specified NAnt.NUnit1.Types.NUnitTest. If the NAnt.NUnit1.Types.NUnitTest is not currently a member of the collection, it returns -1.