Partilhar via


Construtor MouseAction (UITechnologyElement, MouseButtons, MouseActionType)

Inicializa uma nova instância da MouseAction classe usando o elemento fornecido, a designação de botão e tipo de ação.

Namespace:  Microsoft.VisualStudio.TestTools.UITest.Common
Assembly:  Microsoft.VisualStudio.TestTools.UITest.Common (em Microsoft.VisualStudio.TestTools.UITest.Common.dll)

Sintaxe

'Declaração
Public Sub New ( _
    uiElement As UITechnologyElement, _
    button As MouseButtons, _
    actionType As MouseActionType _
)
public MouseAction(
    UITechnologyElement uiElement,
    MouseButtons button,
    MouseActionType actionType
)
public:
MouseAction(
    UITechnologyElement^ uiElement, 
    MouseButtons button, 
    MouseActionType actionType
)
new : 
        uiElement:UITechnologyElement * 
        button:MouseButtons * 
        actionType:MouseActionType -> MouseAction
public function MouseAction(
    uiElement : UITechnologyElement, 
    button : MouseButtons, 
    actionType : MouseActionType
)

Parâmetros

Segurança do .NET Framework

Consulte também

Referência

MouseAction Classe

Sobrecargas MouseAction

Namespace Microsoft.VisualStudio.TestTools.UITest.Common

UITechnologyElement

MouseButtons

MouseActionType