[Overview][Constants][Types][Classes][Procedures and functions] | Reference for unit 'contnrs' (#fcl) |
Search for an object in the list
Source position: contnrs.pp line 85
public function TObjectList.IndexOf( |
AObject: TObject |
):Integer; |
AObject |
|
Object to search for. |
Position (index) at which object was found
IndexOf overrides the TList implementation to accept an object instance instead of a pointer.
The function returns the index of the first match for AObject in the list, or -1 if no match was found.
None.
|
Search for an instance of a certain class |
No notes exist for this page yet.