System.Bindings.EvalProtocol.IInvokable.Invoke
Delphi
function Invoke(const Args: TArray<IValue>): IValue;
C++
virtual _di_IValue __fastcall Invoke(const System::DynamicArray<_di_IValue> Args) = 0 ;
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | public | System.Bindings.EvalProtocol.pas System.Bindings.EvalProtocol.hpp |
System.Bindings.EvalProtocol | IInvokable |
Description
Executes a function or method that potentially returns an lvalue, for two-way functions.
The Invoke method executes a function or method that potentially returns an lvalue (Left Value), for two-way functions. A two-way function is essentially a function that returns a reference.
The Args
parameter is an array of value wrappers that are passed in as parameters for the function.
Invoke returns a value wrapper that contains the actual result of the routine. It may also be a location, in case the result of the routine is of an object type.