RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TObject::CleanupInstance Method

Performs finalization on long strings, variants, and interface variables within a class.

Pascal
procedure CleanupInstance;
C++
__fastcall CleanupInstance();

Do not call System::TObject::CleanupInstance directly. System::TObject::CleanupInstance is called automatically when the object instance is destroyed. 

System::TObject::CleanupInstance releases all long strings and variants. It sets long strings to empty and variants to Unassigned. 

 

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