| NAnt SDK Documentation - v0.92 |
|
PatternCollection.IndexOf Method
Retrieves the index of a specified Pattern object in the collection.
[Visual Basic]
Public Function IndexOf( _
ByVal
item As
Pattern _
) As
Integer
Parameters
-
item
- The Pattern object for which the index is returned.
Return Value
The index of the specified Pattern. If the Pattern is not currently a member of the collection, it returns -1.
See Also
PatternCollection Class | NAnt.Core.Types Namespace