DataTypeBaseBuilderCollection.

IndexOf(DataTypeBaseBuilder) Method

Summary

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

Syntax

public int IndexOf(DataTypeBaseBuilder item)

Parameters

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

Return Value

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