[Overview][Types][Classes][Index] |
Frees resources allocated for hash items and the storage for the list.
Source position: stringhashlist.pas line 62
public procedure TStringHashList.Clear; |
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.
|
Provides indexed access to the storage used in the container. |
|
|
Number of hash items stored in the List property. |
|
|
Destructor for the class instance. |
|
|
Pointer to a block of TStringHashItem instances. |
|
|
Pointer to a TStringHashItem instance. |
Version 4.0 | Generated 2025-05-03 | Home |