System.Classes.TInterfacedPersistent.AfterConstruction
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.