System.Rtti.TValue.AsClass
Delphi
function AsClass: TClass; inline;
C++
System::TClass __fastcall AsClass();
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | public | System.Rtti.pas System.Rtti.hpp |
System.Rtti | TValue |
Description
Returns the stored TClass value.
Call AsClass to obtain the stored TClass value. An exception is raised if the stored value is not a metaclass.