Please ensure Javascript is enabled for purposes of website accessibility
Powered by Zoomin Software. For more details please contactZoomin

AVEVA™ Plant SCADA

DllClassCallMethod

  • Last UpdatedJul 18, 2023
  • 1 minute read

Use this function to call a method of a .Net object, passing in the method name and any arguments required for the matching prototype of the method.

This function is a blocking function. It blocks the calling Cicode task until the operation is complete.

Note:This function is unable to call a static method as it requires an instance of the class to be created before a method can be called from it.

Syntax

VAR DllClassCallMethod(OBJECT object, STRING sMethod, VARARGS args)

object:

.Net object.

sMethod:

The name of the method

args

Args for functions.

Return Value

Var if successful, otherwise an error code is returned.

DllClassDispose, DllClassIsValid, DllClassSetProperty, DllClassCreate, DllClassGetProperty

Example

See DllClassCreate

See Also

.Net Functions

In This Topic
Related Links
TitleResults for “How to create a CRG?”Also Available in