System.TObject.CleanupInstance
From RAD Studio VCL Reference
Contents |
Delphi Information
From System.pas
procedure CleanupInstance
Unit: System
Type: method
Visibility: public
Member Of: TObject
C++ Information
From System.hpp
void __fastcall CleanupInstance(void);
Unit: System
Type: method
Visibility: public
Member Of: TObject
Description
Performs finalization on long strings, variants, and interface variables within a class.
Do not call CleanupInstance directly. CleanupInstance is called automatically when the object instance is destroyed.
CleanupInstance releases all long strings and variants. It sets long strings to empty and variants to Unassigned.