AssemblyAttributeCollection.

IndexOf(AssemblyAttribute) Method

Summary

Retrieves the index of a specified NAnt.DotNet.Types.AssemblyAttribute object in the collection.

Syntax

public int IndexOf(AssemblyAttribute item)

Parameters

Name Type Description
item AssemblyAttribute The NAnt.DotNet.Types.AssemblyAttribute object for which the index is returned.

Return Value

Type Description
int The index of the specified NAnt.DotNet.Types.AssemblyAttribute. If the NAnt.DotNet.Types.AssemblyAttribute is not currently a member of the collection, it returns -1.