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

CategoryCollection.IndexOf Method 

[This is preliminary documentation and subject to change.]

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

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

Parameters

item
The Category object for which the index is returned.

Return Value

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

Remarks

Missing <remarks> documentation for M:NAnt.NUnit2.Types.CategoryCollection.IndexOf(NAnt.NUnit2.Types.Category)

See Also

CategoryCollection Class | NAnt.NUnit2.Types Namespace