System.Rtti.TVirtualMethodInterceptor.OnBefore

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property OnBefore: TInterceptBeforeNotify read FOnBefore write FOnBefore;

C++

__property _di_TInterceptBeforeNotify OnBefore = {read=FOnBefore, write=FOnBefore};

Properties

Type Visibility Source Unit Parent
property public
System.Rtti.pas
System.Rtti.hpp
System.Rtti TVirtualMethodInterceptor

Description

This event is called before the inherited implementation has been invoked.

Use the OnBefore event handler to inhibit invocation of an inherited method. Proxify must first be used to intercept the method calls of the particular class type. The documentation for TInterceptBeforeNotify describes the details of the parameters.

See Also


Code Examples