Array::IndexOf Method
Searches for the specified object and returns the index of its first occurrence in a one-dimensional array or in a range of elements in the array.
Assembly: mscorlib (in mscorlib.dll)
| Name | Description | |
|---|---|---|
![]() ![]() | IndexOf(Array^, Object^) | Searches for the specified object and returns the index of its first occurrence in a one-dimensional array. |
![]() ![]() | IndexOf(Array^, Object^, Int32) | Searches for the specified object in a range of elements of a one-dimensional array, and returns the index of its first occurrence. The range extends from a specified index to the end of the array. |
![]() ![]() | IndexOf(Array^, Object^, Int32, Int32) | Searches for the specified object in a range of elements of a one-dimensional array, and returns the index of ifs first occurrence. The range extends from a specified index for a specified number of elements. |
![]() ![]() | IndexOf<T>(array<T>^, T) | Searches for the specified object and returns the index of its first occurrence in a one-dimensional array. |
![]() ![]() | IndexOf<T>(array<T>^, T, Int32) | Searches for the specified object in a range of elements of a one dimensional array, and returns the index of its first occurrence. The range extends from a specified index to the end of the array. |
![]() ![]() | IndexOf<T>(array<T>^, T, Int32, Int32) | Searches for the specified object in a range of elements of a one-dimensional array, and returns the index of its first occurrence. The range extends from a specified index for a specified number of elements. |

