Metodo Mouse.Click (MouseButtons, ModifierKeys, Point)

Fare clic sul pulsante del mouse specificato mentre utilizzano i tasti di modifica specificati nella posizione specificata.

Spazio dei nomi:  Microsoft.VisualStudio.TestTools.UITesting
Assembly:  Microsoft.VisualStudio.TestTools.UITesting (in Microsoft.VisualStudio.TestTools.UITesting.dll)

Sintassi

'Dichiarazione
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
)

Parametri

Sicurezza di .NET Framework

Vedere anche

Riferimenti

Mouse Classe

Overload Click

Spazio dei nomi Microsoft.VisualStudio.TestTools.UITesting

MouseButtons

ModifierKeys

Point