NAnt SDK Documentation - v0.92

ZipFileSetCollection.IndexOf Method 

Retrieves the index of a specified ZipFileSet object in the collection.

[Visual Basic]
Public Function IndexOf( _
   ByVal item As ZipFileSet _
) As Integer
[C#]
public int IndexOf(
   ZipFileSet item
);

Parameters

item
The ZipFileSet object for which the index is returned.

Return Value

The index of the specified ZipFileSet. If the ZipFileSet is not currently a member of the collection, it returns -1.

See Also

ZipFileSetCollection Class | NAnt.Compression.Types Namespace