[Overview][Classes][Procedures and functions][Index] |
Deletes the method stored at the specified position.
Source position: lazmethodlist.pas line 52
public procedure TMethodList.Delete( |
Index: Integer |
); |
Index |
|
Ordinal position for the method to delete from the list. |
Delete is a procedure used to delete the method stored at the specified ordinal position in the list. Delete decrements the internal member used for the Count function.
The method instance is physically removed from the list by moving memory allocated beyond the position in Index (if needed) to the requested position. ReAllocMem is called to resize allocated memory to accommodate the new number of items in the Count property.
Use Remove to delete a specific TMethod instance from the Items in the list.
|
Provides indexed access to methods in the list. |
|
|
Gets the number of items included in the method list. |
|
|
Removes the specified method from the items in the list. |
Version 4.0 | Generated 2025-05-03 | Home |