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

OptionCollection.IndexOf Method 

[This is preliminary documentation and subject to change.]

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

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

Parameters

item
The Option object for which the index is returned.

Return Value

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

Remarks

Missing <remarks> documentation for M:NAnt.Core.Types.OptionCollection.IndexOf(NAnt.Core.Types.Option)

See Also

OptionCollection Class | NAnt.Core.Types Namespace