NAnt SDK Documentation - v0.92

XsltExtensionObjectCollection.IndexOf Method 

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

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

Parameters

item
The XsltExtensionObject object for which the index is returned.

Return Value

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

See Also

XsltExtensionObjectCollection Class | NAnt.Core.Types Namespace