Click or drag to resize

IJVMWrapperDirectNew(String, Object, Object) Method

Instantiates a new JVM object of className type using a constructor that accepts 2 arguments.

Namespace: MASES.JCOBridge.C2JBridge.JVMInterop
Assembly: C2JBridge (in C2JBridge.dll) Version: 2.6.9.260611-9a148513a79c26cdd7f1dde468f4f9e06ef3bc7e
Syntax
IJavaObjectBase New(
	string className,
	Object arg0,
	Object arg1
)

Parameters

className  String
The class name in the dot or slash form (example are java.lang.Boolean or java/lang/Boolean)
arg0  Object
The first argument to pass to the constructor.
arg1  Object
The second argument to pass to the constructor.

Return Value

IJavaObjectBase
A new IJavaObjectBase wrapping the newly created JVM instance.
Exceptions
ExceptionCondition
MissingMethodException Thrown if no matching constructor is found for the given argument types.
See Also