NAnt SDK Documentation - v0.92 |

# ResourceFileSetCollection.IndexOf Method

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

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

#### Parameters

item
  The ResourceFileSet object for which the index is returned.

#### Return Value

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

#### See Also

ResourceFileSetCollection Class | NAnt.DotNet.Types Namespace