Click or drag to resize

JVMBridgeExceptionIExecuteTNewClass, TReturn, TConverter(String, Object) Method

Executes an instance method

Namespace: MASES.JCOBridge.C2JBridge
Assembly: C2JBridge (in C2JBridge.dll) Version: 2.5.10.240120-2a3d9d79d92bde9fdf6d46131ee31d20c12fe372
Syntax
public TReturn IExecute<TNewClass, TReturn, TConverter>(
	string methodName,
	params Object[] args
)
where TNewClass : IJVMBridgeBase, TReturn
where TConverter : new(), Object, IJVMBridgeBaseConvert<TNewClass, TReturn>

Parameters

methodName  String
The instance method to be invoked
args  Object
Possible arguments

Type Parameters

TNewClass
The argument type to be used
TReturn
The return type expected: class implementing IJVMBridgeBase, IJavaObject, Enum, primitive types or array of primitives types
TConverter
The converter to be used to convert from TNewClass to TReturn

Return Value

TReturn
The result of execution. Void functions returns default(TReturn).
See Also