| [Overview][Constants][Types][Classes][Procedures and functions][Index] | 
Remove a class pointer from the list.
Source position: contnrs.pp line 123
| public function TClassList.Remove( | 
| AClass: TClass | 
| ):Integer; | 
| AClass | 
 | Class pointer to remove from the list. | 
Index of the removed item
Remove removes a class pointer Item from the list, if it is present in the list. It returns the index of the removed class pointer, or -1 if the class pointer was not present in the list. It simply overrides the implementation in TList so it accepts a class pointer instead of a simple pointer. No new behaviour is introduced.
None.
| 
 | Extract a class pointer from the list. | |