NAnt SDK Documentation - v0.92

SymbolCollection.IndexOf Method 

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

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

Parameters

item
The Symbol object for which the index is returned.

Return Value

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

See Also

SymbolCollection Class | NAnt.VisualCpp.Types Namespace