System.Rtti.TVirtualMethodInterceptor.DoAfter

提供: RAD Studio API Documentation
移動先: 案内検索

Delphi

procedure DoAfter(Instance: TObject; Method: TRttiMethod; const Args: TArray<TValue>;  var Result: TValue);

C++

void __fastcall DoAfter(System::TObject* Instance, TRttiMethod* Method, const System::DynamicArray<TValue> Args, TValue &Result);

プロパティ

種類 可視性 ソース ユニット
procedure
function
protected
System.Rtti.pas
System.Rtti.hpp
System.Rtti TVirtualMethodInterceptor

説明

OnAfter イベントを呼び出します。

DoAfter は、OnAfter イベントに対応する、protected 仮想メソッドです。TVirtualMethodInterceptor から継承している場合、OnAfter イベントにサブスクライブするより、このメソッドをオーバーライドする方が、派生クラスのユーザーもまた、同じイベントにサブスクライブを望むかもしれないため、理にかなっているでしょう。

関連項目