System.Generics.Collections.TObjectQueue.OwnsObjects
Delphi
property OwnsObjects: Boolean read FOwnsObjects write FOwnsObjects;
C++
__property bool OwnsObjects = {read=FOwnsObjects, write=FOwnsObjects, nodefault};
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
property | public | System.Generics.Collections.pas System.Generics.Collections.hpp |
System.Generics.Collections | TObjectQueue |
Description
Get or set object ownership.
OwnsObjects gets or sets whether objects in the queue are owned by the queue or not. If entries are owned, when an entry object is removed from the queue, the entry object is freed. Create initializes this property.
See Also
Code Examples