Bagikan melalui


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

See Also

Reference

Mouse Class

Click Overload

Microsoft.VisualStudio.TestTools.UITesting Namespace