System.Rtti.TVirtualInterfaceInvokeEvent

From Appmethod Libraries
Jump to: navigation, search

Object Pascal

TVirtualInterfaceInvokeEvent = reference to procedure(Method: TRttiMethod;
const Args: TArray<TValue>; out Result: TValue);

C++

__interface TVirtualInterfaceInvokeEvent  : public System::IInterface

Properties

Type Visibility Source Unit Parent
anonMethod
class
public
System.Rtti.pas
System.Rtti.hpp
System.Rtti System.Rtti

Description

Represents the type of the event handlers that can be assigned to TVirtualInterface.OnInvoke.

TVirtualInterface.OnInvoke is a procedure reference of type TVirtualInterfaceInvokeEvent.

The parameters of TVirtualInterfaceInvokeEvent are described in the following table:

Parameter Description
Args RTTI for the arguments of the interface method that has been called. The first argument (located at index 0) represents the interface instance itself.
Method RTTI for the interface method that has been called.
Result RTTI for the result of the interface method call.

Code Examples