ArrayList.IndexOf Method

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Returns the zero-based index of the first occurrence of a value in the ArrayList or in a portion of it.

Namespace:   System.Collections
Assembly:  mscorlib (in mscorlib.dll)

NameDescription
System_CAPS_pubmethodIndexOf(Object)

Searches for the specified Object and returns the zero-based index of the first occurrence within the entire ArrayList.

System_CAPS_pubmethodIndexOf(Object, Int32)

Searches for the specified Object and returns the zero-based index of the first occurrence within the range of elements in the ArrayList that extends from the specified index to the last element.

System_CAPS_pubmethodIndexOf(Object, Int32, Int32)

Searches for the specified Object and returns the zero-based index of the first occurrence within the range of elements in the ArrayList that starts at the specified index and contains the specified number of elements.

Return to top
Show: