System.Rtti.TValue.AsInterface

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function AsInterface: IInterface;

C++

System::_di_IInterface __fastcall AsInterface();

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.

See Also