NAnt SDK Documentation - v0.92

ArgumentCollection.IndexOf Method 

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

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

Parameters

item
The Argument object for which the index is returned.

Return Value

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

See Also

ArgumentCollection Class | NAnt.Core.Types Namespace