Metodo Mouse.ClickImplementation

Fare clic sul pulsante del mouse specificato nel controllo specificato mentre utilizzano i tasti di modifica specificati nella posizione specificata è relative che controlla.

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
    Coordinate rispetto al controllo.se control viene 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