TaskBuilderCollection.

IndexOf(TaskBuilder) Method

Summary

Retrieves the index of a specified NAnt.Core.TaskBuilder object in the collection.
Assembly
NAnt.Core.dll
Namespace
NAnt.Core
Containing Type
TaskBuilderCollection

Syntax

public int IndexOf(TaskBuilder item)

Parameters

Name Type Description
item TaskBuilder The NAnt.Core.TaskBuilder object for which the index is returned.

Return Value

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