System.Rtti.IsManaged

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function IsManaged(TypeInfo: PTypeInfo): Boolean;

C++

extern DELPHI_PACKAGE bool __fastcall IsManaged(System::Typinfo::PTypeInfo TypeInfo);

Properties

Type Visibility Source Unit Parent
function public
System.Rtti.pas
System.Rtti.hpp
System.Rtti System.Rtti

Description

Checks whether a type is managed.

Use IsManaged to check whether a type is managed. Managed types, in Delphi, employ special compiler-aided techniques such as reference counting. The TypeInfo parameter contains the type information of the verified type.

See Also