RanorexRanorex Documentation
InvokeAction Method (name, args)
NamespacesRanorex.CoreElementInvokeAction(String, array<Object>[]()[])
Invokes an action on the element.
Declaration Syntax
C#Visual BasicVisual C++
public Object InvokeAction(
	string name,
	params Object[] args
)
Public Function InvokeAction ( _
	name As String, _
	ParamArray args As Object() _
) As Object
public:
Object^ InvokeAction(
	String^ name, 
	... array<Object^>^ args
)
Parameters
name (String)
The name of the action to invoke.
args (array< Object >[]()[])
The list of parameters for the action.
Return Value
The invocation result.
Remarks
The types of the parameters and return value are as defined by the ActionDescriptor.
Exceptions
ExceptionCondition
ArgumentNullExceptionIf name is null.
ActionFailedExceptionThrown if invoking the action failed.

Assembly: Ranorex.Core (Module: Ranorex.Core) Version: 3.2.1.15734 (3.2.1.15734)