System.TObject.CleanupInstance

From RAD Studio API Documentation
Revision as of 22:53, 16 October 2011 by PyBot (talk | contribs) (Scoping Libraries)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

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.

See Also