The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.
Mouse.Click Method (MouseButtons, ModifierKeys, Point)
Clicks the specified mouse button while holding the specified modifier keys at the specified location.
Assembly: Microsoft.VisualStudio.TestTools.UITesting (in Microsoft.VisualStudio.TestTools.UITesting.dll)
static member Click : button:MouseButtons * modifierKeys:ModifierKeys * screenCoordinate:Point -> unit
Parameters
- button
-
Type:
System.Windows.Forms.MouseButtons
MouseButtons to click.
- modifierKeys
-
Type:
System.Windows.Input.ModifierKeys
ModifierKeys to be pressed while clicking.
- screenCoordinate
-
Type:
System.Drawing.Point
Point on the screen to click.
Show: