Vcl.OleCtnrs.TOleContainer.Destroy
Delphi
destructor Destroy; override;
C++
__fastcall virtual ~TOleContainer(void);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
destructor | public | Vcl.OleCtnrs.pas Vcl.OleCtnrs.hpp |
Vcl.OleCtnrs | TOleContainer |
Description
Destroys an instance of TOleContainer.
Do not call Destroy directly in an application. Instead, call Free. Free verifies that the TOleContainer reference is not nil, and only then calls Destroy.Destroy frees the OLE object before calling the inherited destructor.