IVarInvokeable.DoProcedure

Called for methods that do not return a result (procedures)

Declaration

Source position: variants.pp line 218

default 
  function DoProcedure(const V: tvardata; const Name: string; 
                      const Arguments: TVarDataArray) : Boolean;

Description

DoProcedure is called whenever a variant method that does not return a result needs to be invoked. V is the variant on which the method is being executed. The Name is the name of the method to execute, and Arguments is an array of variant arguments that were passed to the method.

The function must return True if the procedure was executed correctly, False otherwise.

See also

Name Description
IVarInvokeable.DoFunction Called for methods that return a result (functions)
IVarInvokeable.GetProperty Called when a property must be read
IVarInvokeable.SetProperty Called when a property must be set