TObjectArray.Clear procedure
Removes all item/object associations stored in the List.
Declaration
procedure Clear; virtualDescription
Clear is a procedure used to remove all item/object associations
stored in the
List. Clear sets the values in
Count and
Capacity to zero (
0), and calls
ReallocMem to
set the allocated memory size in List to zero (
0).
Use Delete or Remove to delete a single association by
its position or item content.
See also
An experiment, built from Lazarus main 2dfa93c66e of 10-22-2026. Not the official Lazarus documentation.
