Click or drag to resize

JVMBridgeBaseTClassSExecuteTReturn, TConverter(Type, String, Object) Method

Executes a static method which returns a bridged class

Namespace: MASES.JCOBridge.C2JBridge
Assembly: C2JBridge (in C2JBridge.dll) Version: 2.5.17.240622-f0da58d62b7e98f73f32432917df8eb1a5f062a3
Syntax
public static TReturn SExecute<TReturn, TConverter>(
	Type type,
	string methodName,
	params Object[] args
)
where TConverter : new(), Object, IJVMBridgeBaseConvert<Object, TReturn>

Parameters

type  Type
The Type implementing IJVMBridgeBase to be instantiated
methodName  String
The instance method to be invoked
args  Object
Possible arguments

Type Parameters

TReturn
The return type: in some condition can be helpful to return a different TReturn
TConverter
The converter to be used to convert from instance of type to TReturn

Return Value

TReturn
The initilized TReturn or null
See Also