Skip to main content

Create object

Create an object of a type of the open assembly and keep it in the session by a name, for Call method (G4).

Command in the .NET, Java and COM toolkit · id ooa.dotnet/create_object · 6 inputs (1 required), no outputs

Inputs​

InputTypeRequiredDefaultWhat it is
SessionStringNodotnetName of the .NET session, from Open assembly.
TypeStringYesFull type name, with its namespace.
Object nameStringNoobjectName the object is kept by.
ArgumentsListNoConstructor arguments in order.
Argument typesListNoThe type of each argument, in order: auto, text, int, long, double, decimal, bool, byte, datetime, bytes (base64), text_list, number_list, list or dictionary.
Named argumentsDictionaryNoArguments by their parameter names, after the ones in order.