NAnt SDK Documentation - v0.92

FormatterDataCollection.IndexOf Method 

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

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

Parameters

item
The FormatterData object for which the index is returned.

Return Value

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

See Also

FormatterDataCollection Class | NAnt.NUnit.Types Namespace