RanorexRanorex Documentation
InvokeMethod Method (methodName, args)
NamespacesRanorexJavaElementInvokeMethod(String, array<Object>[]()[])
Invokes a public method on the remote Java object represented by this Element.
Declaration Syntax
C#Visual BasicVisual C++
public Object InvokeMethod(
	string methodName,
	params Object[] args
)
Public Function InvokeMethod ( _
	methodName As String, _
	ParamArray args As Object() _
) As Object
public:
Object^ InvokeMethod(
	String^ methodName, 
	... array<Object^>^ args
)
Parameters
methodName (String)
The name of method to invoke.
args (array< Object >[]()[])
A list of method arguments. (Supports string,int,long,bool,null).
Return Value
The value returned by the method or null if method has "void" return type.

Assembly: Ranorex.Plugin.Java (Module: Ranorex.Plugin.Java) Version: 3.2.3.16825 (3.2.3.16825)