NAnt SDK Documentation - v0.85-nightly-2005-11-09

EnvironmentVariableCollection.IndexOf Method 

[This is preliminary documentation and subject to change.]

Retrieves the index of a specified EnvironmentVariable object in the collection.

[Visual Basic]
Public Function IndexOf( _
   ByVal item As EnvironmentVariable _
) As Integer
[C#]
public int IndexOf(
   EnvironmentVariable item
);

Parameters

item
The EnvironmentVariable object for which the index is returned.

Return Value

The index of the specified EnvironmentVariable. If the EnvironmentVariable is not currently a member of the collection, it returns -1.

Remarks

Missing <remarks> documentation for M:NAnt.Core.Types.EnvironmentVariableCollection.IndexOf(NAnt.Core.Types.EnvironmentVariable)

See Also

EnvironmentVariableCollection Class | NAnt.Core.Types Namespace