FormatterDataCollection.

IndexOf(FormatterData) Method

Summary

Retrieves the index of a specified NAnt.NUnit.Types.FormatterData object in the collection.
Assembly
NAnt.NUnit.dll
Namespace
NAnt.NUnit.Types
Containing Type
FormatterDataCollection

Syntax

public int IndexOf(FormatterData item)

Parameters

Name Type Description
item FormatterData The NAnt.NUnit.Types.FormatterData object for which the index is returned.

Return Value

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