ArrayList::BinarySearch Method
.NET Framework (current version)
Uses a binary search algorithm to locate a specific element in the sorted ArrayList or a portion of it.
Assembly: mscorlib (in mscorlib.dll)
| Name | Description | |
|---|---|---|
![]() | BinarySearch(Int32, Int32, Object^, IComparer^) | Searches a range of elements in the sorted ArrayList for an element using the specified comparer and returns the zero-based index of the element. |
![]() | BinarySearch(Object^) | Searches the entire sorted ArrayList for an element using the default comparer and returns the zero-based index of the element. |
![]() | BinarySearch(Object^, IComparer^) | Searches the entire sorted ArrayList for an element using the specified comparer and returns the zero-based index of the element. |
Show:
