NAnt SDK Documentation - v0.92 |

# XsltParameterCollection.IndexOf Method

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

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

#### Parameters

item
  The XsltParameter object for which the index is returned.

#### Return Value

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

#### See Also

XsltParameterCollection Class | NAnt.Core.Types Namespace