Retrieves the index of a specified Package object in the collection.
The index of the specified Package. If the Package is not currently a member of the collection, it returns -1.
PackageCollection Class | NAnt.DotNet.Types Namespace