Clicks the specified mouse buttons the specified number of times.
| C# | Visual Basic | Visual C++ |
public static void Click( MouseButtons buttons, int times, Duration clickTime )
Public Shared Sub Click ( _ buttons As MouseButtons, _ times As Integer, _ clickTime As Duration _ )
public: static void Click( MouseButtons buttons, int times, Duration^ clickTime )
- buttons (MouseButtons)
- A bit-wise combination of MouseButtons values that specify the mouse buttons for this action.
- times (Int32)
- The number of times to click.
