Click or drag to resize

IJavaObjectInvoke(String, Object, Object) Method

Invokes an instance method on the underlying JVM object with 2 arguments.

Namespace: MASES.JCOBridge.C2JBridge.JVMInterop
Assembly: C2JBridge (in C2JBridge.dll) Version: 2.6.10.261112-5ffe0920c00dbac056780af7ab9b1978b26ef4a5
Syntax
Object Invoke(
	string methodName,
	Object arg0,
	Object arg1
)

Parameters

methodName  String
The name of the Java instance method to invoke.
arg0  Object
The first argument to pass to the method.
arg1  Object
The second argument to pass to the method.

Return Value

Object
The return value of the method as a boxed Object, or if the method returns void.
Exceptions
ExceptionCondition
MissingMethodException Thrown if no matching method is found for the given argument types.
See Also