TStringHashList.Clear procedure
Frees resources allocated for hash items and the storage for the list.
Declaration
procedure ClearDescription
Clear is a method used to free resources allocated for the hash
items, and the memory allocated for the List property.
Clear calls Dispose for each of the PStringHashItem instances stored in List to free the memory allocated for the typed pointer. Clear calls FreeMem to free the memory allocated for the List property, and sets the member reference to Nil.
The value in Count is set to 0 to indicate that the List is empty.
Clear is called from the Destroy method when the class instance is freed.
See also
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
