FormatterElementCollection.

IndexOf(FormatterElement) Method

Summary

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

Syntax

public int IndexOf(FormatterElement item)

Parameters

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

Return Value

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