FilterBuilderCollection.

IndexOf(FilterBuilder) Method

Summary

Retrieves the index of a specified NAnt.Core.Filters.FilterBuilder object in the collection.
Assembly
NAnt.Core.dll
Namespace
NAnt.Core.Filters
Containing Type
FilterBuilderCollection

Syntax

public int IndexOf(FilterBuilder item)

Parameters

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

Return Value

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