Share this page

# CreateObject Method (IUiObjectBase)

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.

Tips to improve your search results... OpenText™ Functional Testing for Developers .NET SDK Version: 25.2 OpenText™ Functional Testing for Developers SDK 25.2 All View Local Help Center View Online Help Center Version: