Skip to content

TFPObjectHashTable.OwnsObjects

Does the hash table own the objects ?

Declaration

Source position: contnrs.pp line 512

public property OwnsObjects: Boolean;

Description

OwnsObjects determines what happens with objects which are removed from the hash table: if True, then removing an object from the hash list will free the object. If False, the object is not freed. Note that way in which the object is removed is not relevant: be it Delete, Remove or Clear.

See also

Name Description
TFPObjectHashTable.Create Create a new instance of TFPObjectHashTable.
TFPObjectHashTable.Items Key-based access to the objects.