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