SortableListIndexOf Method (Object) |
IList implementation.
Returns the index of the specified object in the list.
If the list is sorted, a
BinarySearch is performed using IComparer interface.
Else the
Object.Equals implementation of objects is used.
Namespace:
Pathfinding
Assembly:
RebornBuddy (in RebornBuddy.exe) Version: 3.3.1; net-4.5.win32; release
Syntax public int IndexOf(
Object O
)
Parameters
- O
- Type: SystemObject
The object to locate.
Return Value
Type:
Int32
If the object has been found, a positive integer corresponding to its position.
If the objects has not been found, a negative integer which is the bitwise complement of the index of the next element.
Implements
IListIndexOf(Object)See Also