Skip to content

TFPHashObjectList.Clear

Clear the list.

Declaration

Source position: contnrs.pp line 322

public 
procedure TFPHashObjectList.Clear;

Description

Clear removes all objects from the list. It does not free the objects themselves, unless OwnsObjects is True. It always frees all memory needed to contain the objects.

Errors

None.

See also

Name Description
TFPHashObjectList.Extract Extract a object instance from the list.
TFPHashObjectList.Remove Remove first occurrence of a object instance.
TFPHashObjectList.Delete Delete an object from the list.
TFPHashObjectList.Add Add a new key/data pair to the list.