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

ArgumentCollection.IndexOf Method 

[This is preliminary documentation and subject to change.]

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.

Remarks

Missing <remarks> documentation for M:NAnt.Core.Types.ArgumentCollection.IndexOf(NAnt.Core.Types.Argument)

See Also

ArgumentCollection Class | NAnt.Core.Types Namespace