CodeStatsCountCollection.

IndexOf(CodeStatsCount) Method

Summary

Retrieves the index of a specified NAnt.Contrib.Types.CodeStatsCount object in the collection.
Assembly
NAnt.Contrib.dll
Namespace
NAnt.Contrib.Types
Containing Type
CodeStatsCountCollection

Syntax

public int IndexOf(CodeStatsCount item)

Parameters

Name Type Description
item CodeStatsCount The NAnt.Contrib.Types.CodeStatsCount object for which the index is returned.

Return Value

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