ZipFileSetCollection.

IndexOf(ZipFileSet) Method

Summary

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

Syntax

public int IndexOf(ZipFileSet item)

Parameters

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

Return Value

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