 | JVMBridgeBaseTClassSExecuteTReturn(IJavaType, String, Object, Object) Method |
Invokes static method methodName on clazz with 2 arguments, returning TReturn.
Namespace: MASES.JCOBridge.C2JBridgeAssembly: C2JBridge (in C2JBridge.dll) Version: 2.6.9.260611-9a148513a79c26cdd7f1dde468f4f9e06ef3bc7e
Syntaxpublic static TReturn SExecute<TReturn>(
IJavaType clazz,
string methodName,
Object arg0,
Object arg1
)
Public Shared Function SExecute(Of TReturn) (
clazz As IJavaType,
methodName As String,
arg0 As Object,
arg1 As Object
) As TReturn
Parameters
- clazz IJavaType
- The IJavaType that owns the static method.
- methodName String
- The name of the static method to invoke.
- arg0 Object
- Argument 0.
- arg1 Object
- Argument 1.
Type Parameters
- TReturn
- The expected return type.
Return Value
TReturnThe method return value converted to
TReturn.
See Also