Open topic with navigation

# CreateObject Method (IUiObjectBase)

Note: Supported in LeanFT versions 14.53 and later.

Creates a native object wrapping an instance of a Java object within your application.

In this topic:

## CreateObject(String) Method

Creates a native object wrapping an instance of a Java object within your application.

C# Syntax

    Dynamic CreateObject(
       string className
    )

Parameters

className
  The java class name.

Return Value

A native object wrapping an instance of a Java object within your application.

## CreateObject(String,Object[]) Method

Creates a native object wrapping an instance of a Java object within your application.

C# Syntax

    Dynamic CreateObject(string className
                        params object[] arguments
    )

Parameters

className
  The java class name.
arguments
  Any arguments required for the object's constructor.

Return Value

A native object wrapping an instance of a Java object within your application.