Returns the index of the first occurrence of a value in the ArrayList, or in a portion of it.
Searches the ArrayList from the specified index to the end for the specified Object and returns the index of the first occurrence.
[Visual Basic] Overloads Overridable Public Function IndexOf(Object, Integer) As Integer
[C#] public virtual int IndexOf(Object, int);
[C++] public: virtual int IndexOf(Object*, int);
[JScript] public function IndexOf(Object, int) : int;
Searches a section of the ArrayList for the specified Object and returns the index of the first occurrence.
[Visual Basic] Overloads Overridable Public Function IndexOf(Object, Integer, Integer) As Integer
[C#] public virtual int IndexOf(Object, int, int);
[C++] public: virtual int IndexOf(Object*, int, int);
[JScript] public function IndexOf(Object, int, int) : int;
Searches the entire ArrayList for the specified Object and returns the index of the first occurrence.
[Visual Basic] Overloads Overridable Public Function IndexOf(Object) As Integer
[C#] public virtual int IndexOf(Object);
[C++] public: virtual int IndexOf(Object*);
[JScript] public function IndexOf(Object) : int;
ArrayList Class | ArrayList Members | System.Collections Namespace