ProjBAAssemblyHelper.createObject Method [AX 2012]

Creates an instance of a .Net class using reflection.

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

Run On

Server

Parameters

_className
Type: str
The name of the class to instantiate.
_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 method.

Return Value

Type: CLRObject Class
The class object.

Community Additions

ADD
Show: