| JVMBridgeBaseTClassSExecuteTReturn, TConverter(Type, String, Object) Method |
Executes a static method which returns a bridged class
Namespace: MASES.JCOBridge.C2JBridgeAssembly: C2JBridge (in C2JBridge.dll) Version: 2.5.21.241219-a6a144ea07c497c3a9a1be842408e852afb458be
Syntax public static TReturn SExecute<TReturn, TConverter>(
Type type,
string methodName,
params Object[] args
)
where TConverter : new(), Object, IJVMBridgeBaseConvert<Object, TReturn>
Public Shared Function SExecute(Of TReturn, TConverter As {New, Object, IJVMBridgeBaseConvert(Of Object, TReturn)}) (
type As Type,
methodName As String,
ParamArray args As Object()
) As 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
TReturnThe initilized
TReturn or null
See Also