The function simulates a button click.
| C# | Visual Basic | Visual C++ |
public bool Click( MouseButtonType mouseButtonType )
Public Function Click ( _ mouseButtonType As MouseButtonType _ ) As Boolean
public: bool Click( MouseButtonType mouseButtonType )
- mouseButtonType (MouseButtonType)
- Type of the button. The following values can be used: LeftButton, MiddleButton, RightButton
If an application processes this message, the function return true, otherwise false
| Exception | Condition |
|---|---|
| CommandFailedException | Thrown when the operation cannot be processed. |
