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