ResourceFileSetCollection.

IndexOf(ResourceFileSet) Method

Summary

Retrieves the index of a specified NAnt.DotNet.Types.ResourceFileSet object in the collection.
Assembly
NAnt.DotNet.dll
Namespace
NAnt.DotNet.Types
Containing Type
ResourceFileSetCollection

Syntax

public int IndexOf(ResourceFileSet item)

Parameters

Name Type Description
item ResourceFileSet The NAnt.DotNet.Types.ResourceFileSet object for which the index is returned.

Return Value

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