ArrayList.IndexOf Method
Returns the zero-based index number of the first occurrence of a specified object (if any) in either the entire ArrayList collection or a specified portion of it.
Overload List
Name | Description |
---|---|
ArrayList.IndexOf (Object) | Searches for a specified object and returns the zero-based index number of the first occurrence of that object (if any) within the entire ArrayList collection. |
ArrayList.IndexOf (Object, Int32) | Searches for a specified object within that portion of the ArrayList collection starting at a specified index number and ending at the last object in the collection. Returns the zero-based index number of the first occurrence of that object (if any) within the specified portion of the collection. |
ArrayList.IndexOf (Object, Int32, Int32) | Searches for a specified object within that portion of the ArrayList collection that starts at a specified index number and contains a specified number of objects. Returns the zero-based index number of the first occurrence of that object (if any) within the specified portion of the collection. |
Version Information
Available in the .NET Micro Framework versions 2.0, 2.5, 3.0, 4.0, and 4.1.
See Also
Reference
ArrayList Class
ArrayList Members
System.Collections Namespace