XsltParameterCollection.

IndexOf(XsltParameter) Method

Summary

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

Syntax

public int IndexOf(XsltParameter item)

Parameters

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

Return Value

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