TStringList.OwnsObjects¶
Determines whether the stringlist owns it's objects or not.
Declaration¶
Source position: classesh.inc line 1277
public property OwnsObjects: Boolean;
Description¶
OwnsObjects can be set to true to let the stringlist instance own the objects in the list: if an element is removed from the list, the associated object (if there is any) will be freed as well. The same is true if the list is cleared or destroyed.
See also¶
| Name | Description |
|---|---|
| TStrings.Objects | Indexed access to the objects associated with the strings in the list. |