InvokeEntityMethod Function

  • Updated

Returns the value (if any) of an instance method call on (an defined by) an entity.

Syntax

 

Returns the value (if any) of an instance method call on (an defined by) an entity.

 

InvokeEntityMethod(entityField, methodName, argument1, argument2, ...)

 

 

Arguments:

 

 

 

entityField

Field - The entity owning the method to execute.

 

 

methodName

Expression - The name of the method to execute.

 

 

argument

Any - argument defined by and to be passed to the method call.

Remarks

  • Example: Field1.Add(2, 3) returns 5.
  • Example: InvokeEntityMethod(Field1, "Add", 2, 3) returns 5.

Was this article helpful?

0 out of 0 found this helpful

Comments

0 comments

Please sign in to leave a comment.