RanorexRanorex Documentation
InvokeMethod Method (flags, name, args)
NamespacesRanorexControlInvokeMethod(BindingFlags, String, array<Object>[]()[])
Invokes the specified method on the control. All parameters and the return value need to be serializable.
Declaration Syntax
C#Visual BasicVisual C++
public Object InvokeMethod(
	BindingFlags flags,
	string name,
	Object[] args
)
Public Function InvokeMethod ( _
	flags As BindingFlags, _
	name As String, _
	args As Object() _
) As Object
public:
Object^ InvokeMethod(
	BindingFlags flags, 
	String^ name, 
	array<Object^>^ args
)
Parameters
flags (BindingFlags)
A combination of flags that further specify which method to invoke.
name (String)
The name of the method to invoke.
args (array< Object >[]()[])
The (serializable) values passed as parameters to the method.
Return Value
The (serializable) return value of the invoked method.
Exceptions
ExceptionCondition
ActionFailedExceptionThrown if invoking the action failed.

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