ProjBAAssemblyHelper.invokeStaticMethod Method [AX 2012]

Invokes a static method of a .Net class using reflection.

public CLRObject invokeStaticMethod(
    str _className, 
    str _methodName, 
   [CLRObject _parameter1, 
    CLRObject _parameter2, 
    CLRObject _parameter3])

Run On

Server

Parameters

_className
Type: str
The name of the class.
_methodName
Type: str
The name of the method to invoke.
_parameter1
Type: CLRObject Class
First parameter of the method.
_parameter2
Type: CLRObject Class
Second parameter of the method.
_parameter3
Type: CLRObject Class
Third parameter of the emthod.

Return Value

Type: CLRObject Class
Return value from the invoked method.

Community Additions

ADD
Show: