TarFileSetCollection.

IndexOf(TarFileSet) Method

Summary

Retrieves the index of a specified NAnt.Compression.Types.TarFileSet object in the collection.

Syntax

public int IndexOf(TarFileSet item)

Parameters

Name Type Description
item TarFileSet The NAnt.Compression.Types.TarFileSet object for which the index is returned.

Return Value

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