System.Generics.Collections.TObjectQueue.OwnsObjects

From Appmethod Libraries
Jump to: navigation, search

Object Pascal

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