Xojo.Introspection.MethodInfo.Invoke

From Xojo Documentation

Method

Xojo.Introspection.MethodInfo.Invoke(target As Object, Optional params() As Auto) As Auto

Supported for all project types and targets.

Calls the method, given its base object and an instance of the class that created it. Returns an Auto containing the return value of the function.


Method

Xojo.Introspection.MethodInfo.Invoke(target As Object, Optional params() As Auto)

Supported for all project types and targets.

Calls the function, given its base object and an instance of the class that created it.

Parameters

Parameter Description
target The base object. Nil may be used to call a shared method.
params An array of parameters to pass to the method.

Notes

You can use Nil as the target object if calling a shared method.

Exceptions