| IJavaObjectInvokeTReturn(String, Object) Method |
Invokes an instance member on this
IJavaObject using
methodName and search criteria based on
args Namespace: MASES.JCOBridge.C2JBridge.JVMInteropAssembly: C2JBridge (in C2JBridge.dll) Version: 2.5.21.241219-a6a144ea07c497c3a9a1be842408e852afb458be
Syntax TReturn Invoke<TReturn>(
string methodName,
params Object[] args
)
Function Invoke(Of TReturn) (
methodName As String,
ParamArray args As Object()
) As TReturn
Parameters
- methodName String
- The method to invoke
- args Object
- The arguments to pass to the method
Type Parameters
- TReturn
- The return type expected: IJavaObject, Enum, primitive types or array of primitives types
Return Value
TReturnThe return value of
InvokeTReturn(String, Object)See Also