 | WinformsCoreControlInvokeMethod Method (String) |
Invokes the specified method on the control.
Namespace:
Ranorex
Assembly:
Ranorex.Plugin.WinForms.Core (in Ranorex.Plugin.WinForms.Core.dll) Version: 12.7.4-git.38314c06
Syntaxpublic Object InvokeMethod(
string name
)
Public Function InvokeMethod (
name As String
) As Object
Parameters
- name
- Type: SystemString
The name of the method to invoke.
Return Value
Type:
ObjectThe (serializable) return value of the invoked method.
Exceptions
Remarks
Use this method to invoke public instance methods without arguments on a control.
See Also