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