IResultFormatterCollection.

IndexOf(IResultFormatter) Method

Summary

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

Syntax

public int IndexOf(IResultFormatter item)

Parameters

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

Return Value

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