NAnt SDK Documentation - v0.85-nightly-2005-11-09

PackageCollection.IndexOf Method 

[This is preliminary documentation and subject to change.]

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

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

Parameters

item
The Package object for which the index is returned.

Return Value

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

Remarks

Missing <remarks> documentation for M:NAnt.DotNet.Types.PackageCollection.IndexOf(NAnt.DotNet.Types.Package)

See Also

PackageCollection Class | NAnt.DotNet.Types Namespace