Initializes a new instance of the TObjectArrayList<T> class.
Delphi
constructor Create(OwnsObjects: Boolean = True);
Parameters
- OwnsObjects
- Boolean
True to free contained objects when they are removed, deleted, cleared, or when the list is destroyed; otherwise, false.
The ownership setting is fixed for the lifetime of the list.