[Overview][Classes][Procedures and functions][Index] |
Removes methods from the list if they are for the specified object.
Source position: lazmethodlist.pas line 58
public procedure TMethodList.RemoveAllMethodsOfObject( |
const AnObject: TObject |
); |
AnObject |
|
Object compared to the entries in the list. |
RemoveAllMethodsOfObject is a procedure used to remove methods in the Items property which belong to the object instance specified in AnObject. RemoveAllMethodsOfObject iterates over the methods in the Items property (in reverse order), and compares the object in AnObject to the TMethod.Data for each of the store Items. When they refer to the same TObject instance, the Delete method is called to remove the method from Items.
No actions are performed in the method when memory has not been allocated to the Items property using the Add or Insert methods.
|
Provides indexed access to methods in the list. |
|
|
Deletes the method stored at the specified position. |
|
Version 3.2 | Generated 2024-02-25 | Home |