| JVMBridgeBaseTClassSExecuteTNewClass, TReturn(String, Object) Method |
Executes a static method which returns a bridged class
Namespace: MASES.JCOBridge.C2JBridgeAssembly: C2JBridge (in C2JBridge.dll) Version: 2.5.17.240622-f0da58d62b7e98f73f32432917df8eb1a5f062a3
Syntax public static TReturn SExecute<TNewClass, TReturn>(
string methodName,
params Object[] args
)
where TNewClass : IJVMBridgeBase, TReturn
Public Shared Function SExecute(Of TNewClass As {IJVMBridgeBase, TReturn}, TReturn) (
methodName As String,
ParamArray args As Object()
) As 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: in some condition can be helpful to return a different TReturn
Return Value
TReturnThe initilized
TReturn or null
See Also