NAnt SDK Documentation - v0.92

ProjectBaseCollection.IndexOf Method 

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

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

Parameters

item
The ProjectBase object for which the index is returned.

Return Value

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

See Also

ProjectBaseCollection Class | NAnt.VSNet Namespace