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