System.Rtti.TValue.AsInterface
Delphi
function AsInterface: IInterface;
C++
System::_di_IInterface __fastcall AsInterface();
プロパティ
種類 | 可視性 | ソース | ユニット | 親 |
---|---|---|---|---|
function | public | System.Rtti.pas System.Rtti.hpp |
System.Rtti | TValue |
説明
格納された IInterface 値を返します。
AsInterface メソッドを呼び出すと、格納された IInterface 値を取得できます。格納された値がインターフェースでない場合、例外が発生します。
関連項目