System.Rtti.TValue.IsInstanceOf

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function IsInstanceOf(AClass: TClass): Boolean;

C++

bool __fastcall IsInstanceOf(System::TClass AClass);

Properties

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

Description

Checks whether the stored object reference is an instance of a given class.

Call IsInstanceOf to check whether the object reference stored in the TValue record is an instance of the given class. The AClass parameter specifies the class reference to verify against.

See Also