Summary
Retrieves the index of a specified
NAnt.Core.Types.Pattern object in the collection.
- Assembly
- NAnt
.Core .dll - Namespace
- NAnt
.Core .Types - Containing Type
- PatternCollection
Syntax
public int IndexOf(Pattern item)
Parameters
| Name | Type | Description |
|---|---|---|
| item | Pattern | The NAnt.Core.Types.Pattern object for which the index is returned. |
Return Value
| Type | Description |
|---|---|
| int |
The index of the specified NAnt.Core.Types.Pattern. If the NAnt.Core.Types.Pattern is not currently a member of the collection, it returns -1.
|
