XmlSchemaReferenceCollection.

IndexOf(XmlSchemaReference) Method

Summary

Retrieves the index of a specified NAnt.Contrib.Types.XmlSchemaReference object in the collection.

Syntax

public int IndexOf(XmlSchemaReference item)

Parameters

Name Type Description
item XmlSchemaReference The NAnt.Contrib.Types.XmlSchemaReference object for which the index is returned.

Return Value

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