NAnt SDK Documentation - v0.92

IResultFormatterCollection.IndexOf Method 

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

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

Parameters

item
The IResultFormatter object for which the index is returned.

Return Value

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

See Also

IResultFormatterCollection Class | NAnt.NUnit1.Types Namespace