System.Classes.TInterfacedPersistent.AfterConstruction

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure AfterConstruction; override;

C++

virtual void __fastcall AfterConstruction();

Properties

Type Visibility Source Unit Parent
procedure
function
public
System.Classes.pas
System.Classes.hpp
System.Classes TInterfacedPersistent

Description

Obtains a reference to the Owner's interface.

AfterConstruction is called automatically after the object's last constructor executes. Do not call it explicitly in your applications.

As implemented in TInterfacedPersistent, AfterConstruction calls the GetOwner method to determine whether this object has an Owner. If so, it obtains a reference to the Owner's interface, to which it can delegate IInterface calls.

See Also