XsltExtensionObjectCollection.

IndexOf(XsltExtensionObject) Method

Summary

Retrieves the index of a specified NAnt.Core.Types.XsltExtensionObject object in the collection.
Assembly
NAnt.Core.dll
Namespace
NAnt.Core.Types
Containing Type
XsltExtensionObjectCollection

Syntax

public int IndexOf(XsltExtensionObject item)

Parameters

Name Type Description
item XsltExtensionObject The NAnt.Core.Types.XsltExtensionObject object for which the index is returned.

Return Value

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