System.Rtti.TValue.AsObject
Delphi
function AsObject: TObject;
C++
System::TObject* __fastcall AsObject(void);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | public | System.Rtti.pas System.Rtti.hpp |
System.Rtti | TValue |
Description
Returns the stored object reference.
Call AsObject to obtain the stored object reference value. An exception is raised if the stored value is not an object reference.
See Also
Code Examples