RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TOleContainer.Destroy Destructor

Destroys an instance of TOleContainer.

Pascal
destructor Destroy; override;
C++
virtual __fastcall ~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. 

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!