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

CommandLineArgumentCollection.IndexOf Method 

[This is preliminary documentation and subject to change.]

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

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

Parameters

item
The CommandLineArgument object for which the index is returned.

Return Value

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

Remarks

Missing <remarks> documentation for M:NAnt.Core.Util.CommandLineArgumentCollection.IndexOf(NAnt.Core.Util.CommandLineArgument)

See Also

CommandLineArgumentCollection Class | NAnt.Core.Util Namespace