System.Rtti.TValue.IsInstanceOf
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.