Search for an object in the list.
Source position: contnrs.pp line 61
| public function TFPObjectList.IndexOf( | 
| AObject: TObject | 
| ):Integer; | 
| AObject | 
 | Object instance to search for. | 
Index of the object in the list, -1 if not present.
IndexOf searches for the presence of AObject in the list, and returns the location (index) in the list. The index is 0-based, and -1 is returned if AObject was not found in the list.
None.
| 
 | Indexed access to the elements of the list. | |
| 
 | Remove an item from the list. | |
| 
 | Extract an object from the list. |