System.Rtti.TValue.AsClass

From RAD Studio API Documentation
Jump to: navigation, search

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.

See Also