Click or drag to resize

JVMBridgeBaseIExecuteTNewClass, TReturn, TConverter(String, Object) Method

Executes an instance method

Namespace: MASES.JCOBridge.C2JBridge
Assembly: C2JBridge (in C2JBridge.dll) Version: 2.5.21.241219-a6a144ea07c497c3a9a1be842408e852afb458be
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