[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 descendent which maintains owner information.

Declaration

Source position: classesh.inc line 515

type TOwnedCollection = class(TCollection)

protected

  function GetOwner; override;

public

  constructor Create();

  

Create a new TOwnerCollection instance.

end;

Inheritance

TOwnedCollection

  

TCollection descendent which maintains owner information.

|

TCollection

  

Base class to manage collections of named objects.

|

TPersistent

  

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.

The latest version of this document can be found at lazarus-ccr.sourceforge.net.