Partilhar via


Método Mouse.Click (MouseButtons, ModifierKeys, Point)

Clica no botão do mouse especificada enquanto pressiona as teclas modificadoras especificado no local especificado.

Namespace:  Microsoft.VisualStudio.TestTools.UITesting
Assembly:  Microsoft.VisualStudio.TestTools.UITesting (em Microsoft.VisualStudio.TestTools.UITesting.dll)

Sintaxe

'Declaração
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
)

Parâmetros

Segurança do .NET Framework

Consulte também

Referência

Mouse Classe

Sobrecargas Click

Namespace Microsoft.VisualStudio.TestTools.UITesting

MouseButtons

ModifierKeys

Point