System.Rtti.TVirtualInterface.Destroy

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

destructor Destroy; override;

C++

__fastcall virtual ~TVirtualInterface();

Properties

Type Visibility Source Unit Parent
destructor public
System.Rtti.pas
System.Rtti.hpp
System.Rtti TVirtualInterface

Description

Destroys a TVirtualInterface instance.

A TVirtualInterface instance has an associated reference counter and frees itself automatically. Thus, you should not directly call Destroy. You should use the interface instance obtained from the current TVirtualInterface instance and, when appropriate, set it to nil (the interface instance) or let it go out of scope.

See Also