Mouse.Click Method (MouseButtons, ModifierKeys, Point)
Namespace: Microsoft.VisualStudio.TestTools.UITesting
Assembly: Microsoft.VisualStudio.TestTools.UITesting (in Microsoft.VisualStudio.TestTools.UITesting.dll)
Syntax
'Declaration
Public Shared Sub Click ( _
button As MouseButtons, _
modifierKeys As ModifierKeys, _
screenCoordinate As Point _
)
public static void Click(
MouseButtons button,
ModifierKeys modifierKeys,
Point screenCoordinate
)
public:
static void Click(
MouseButtons button,
ModifierKeys modifierKeys,
Point screenCoordinate
)
static member Click :
button:MouseButtons *
modifierKeys:ModifierKeys *
screenCoordinate:Point -> unit
public static function Click(
button : MouseButtons,
modifierKeys : ModifierKeys,
screenCoordinate : Point
)
Parameters
- button
Type: MouseButtons
- modifierKeys
Type: ModifierKeys
- screenCoordinate
Type: Point
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.