System.Classes.TComponent.FreeOnRelease

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure FreeOnRelease;

C++

void __fastcall FreeOnRelease(void);

Properties

Type Visibility Source Unit Parent
procedure
function
public
System.Classes.pas
System.Classes.hpp
System.Classes TComponent

Description

Frees the interface reference for components that were created from COM classes.

FreeOnRelease is called when an interface implemented by the component is released. FreeOnRelease is used internally and calls the corresponding interface method. It should not be necessary to call FreeOnRelease directly.

See Also