Metodo Mouse.Click (UITestControl, MouseButtons)

Fare clic sul pulsante del mouse specificato nel controllo specificato.

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

Sintassi

'Dichiarazione
Public Shared Sub Click ( _
    control As UITestControl, _
    button As MouseButtons _
)
public static void Click(
    UITestControl control,
    MouseButtons button
)
public:
static void Click(
    UITestControl^ control, 
    MouseButtons button
)
static member Click : 
        control:UITestControl * 
        button:MouseButtons -> unit 
public static function Click(
    control : UITestControl, 
    button : MouseButtons
)

Parametri

Esempi

UITestControl

MouseButtons

Sicurezza di .NET Framework

Vedere anche

Riferimenti

Mouse Classe

Overload Click

Spazio dei nomi Microsoft.VisualStudio.TestTools.UITesting