[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] | Reference for unit 'Classes' (#rtl)

# TOwnedCollection

[Properties (by Name)] [Methods (by Name)] [Events (by Name)]

TCollection descendant which maintains owner information.

## Declaration

Source position: classesh.inc line 570

`type TOwnedCollection = class(TCollection)`
`public`
`constructor Create();` |  | Create a new TOwnerCollection instance.
`end;`

## Inheritance

`TOwnedCollection` |  | TCollection descendant which maintains owner information.
`TCollection` |  | Base class to manage collections of named objects.
`TPersistent,IFPObserved` |  | Base class for streaming system and persistent properties.
`TObject` |  | Base class of all classes.

## Description

TOwnedCollection automatically maintains owner information, so it can be displayed in an IDE. Collections that should be displayed in an IDE should descend from TOwnedCollection or must implement a GetOwner function.

## See also

TCollection |  | Base class to manage collections of named objects.

Documentation generated on: May 14 2021