System.TObject.CleanupInstance

From Appmethod Libraries
Jump to: navigation, search

Object Pascal

procedure CleanupInstance;

C++

void __fastcall CleanupInstance(void);

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.

See Also