Invocable.invoke

Invokes this element on the given instance of class using arguments given as an array of Variant values. For static elements, the value of the instance object may be null. The result is returned as a Variant. If the call would return void, a null value is returned instead.

  1. Variant invoke(Variant instance, Variant[] arguments)
    interface Invocable
    const
    Variant
    invoke
    (
    Variant instance
    ,
    Variant[] arguments...
    )
  2. T invoke(O instance, TList arguments)

Parameters

instance Variant

The object instance to invoke the method as.

arguments Variant[]

The arguments to be passed along to the method.

Return Value

Type: Variant

The result of the invocation.

Meta