System.Rtti.TValue.AsInterface
Delphi
function AsInterface: IInterface;
C++
System::_di_IInterface __fastcall AsInterface(void);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | public | System.Rtti.pas System.Rtti.hpp |
System.Rtti | TValue |
Description
Returns the stored IInterface value.
Call AsInterface to obtain the stored IInterface value. An exception is raised if the stored value is not an interface.