Condividi tramite


Metodo Mouse.ClickImplementation

Sceglie con il pulsante del mouse indicato sul controllo specificato mentre vengono premuti i tasti di modifica specificati in corrispondenza della posizione designata relativa a tale controllo.

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

Sintassi

'Dichiarazione
Protected Overridable Sub ClickImplementation ( _
    control As UITestControl, _
    button As MouseButtons, _
    modifierKeys As ModifierKeys, _
    relativeCoordinate As Point _
)
protected virtual void ClickImplementation(
    UITestControl control,
    MouseButtons button,
    ModifierKeys modifierKeys,
    Point relativeCoordinate
)
protected:
virtual void ClickImplementation(
    UITestControl^ control, 
    MouseButtons button, 
    ModifierKeys modifierKeys, 
    Point relativeCoordinate
)
abstract ClickImplementation : 
        control:UITestControl * 
        button:MouseButtons * 
        modifierKeys:ModifierKeys * 
        relativeCoordinate:Point -> unit 
override ClickImplementation : 
        control:UITestControl * 
        button:MouseButtons * 
        modifierKeys:ModifierKeys * 
        relativeCoordinate:Point -> unit 
protected function ClickImplementation(
    control : UITestControl, 
    button : MouseButtons, 
    modifierKeys : ModifierKeys, 
    relativeCoordinate : Point
)

Parametri

  • relativeCoordinate
    Tipo: System.Drawing.Point
    Le coordinate relative al controllo.Se control è nullriferimento null (Nothing in Visual Basic), relativeCoordinate specifica una coordinata assoluta.

Sicurezza di .NET Framework

Vedere anche

Riferimenti

Mouse Classe

Spazio dei nomi Microsoft.VisualStudio.TestTools.UITesting

UITestControl

MouseButtons

ModifierKeys

Point