NAnt SDK Documentation - v0.85-nightly-2005-11-09

NUnitTestCollection.IndexOf Method 

[This is preliminary documentation and subject to change.]

Retrieves the index of a specified NUnitTest object in the collection.

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

Parameters

item
The NUnitTest object for which the index is returned.

Return Value

The index of the specified NUnitTest. If the NUnitTest is not currently a member of the collection, it returns -1.

Remarks

Missing <remarks> documentation for M:NAnt.NUnit1.Types.NUnitTestCollection.IndexOf(NAnt.NUnit1.Types.NUnitTest)

See Also

NUnitTestCollection Class | NAnt.NUnit1.Types Namespace