NAnt SDK Documentation - v0.92

AssemblyAttributeCollection.IndexOf Method 

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

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

Parameters

item
The AssemblyAttribute object for which the index is returned.

Return Value

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

See Also

AssemblyAttributeCollection Class | NAnt.DotNet.Types Namespace