System.TObject.CleanupInstance
Delphi
procedure CleanupInstance;
C++
void __fastcall CleanupInstance();
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure function |
public | System.pas systobj.h |
System | 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.