System.Generics.Collections.TObjectStack.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 | TObjectStack |
Description
Get or set object ownership.
OwnsObjects gets or sets whether objects in the stack are owned by the stack or not. If entries are owned, when an entry object is removed from the stack, the entry object is freed. Create initializes this property.
See Also
Code Examples