Partilhar via


Construtor DragDropAction (UITechnologyElement, UITechnologyElement, MouseButtons)

Inicializa uma nova instância da DragDropAction classe, usando os elementos fornecidos e a configuração de botão do mouse.

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 ( _
    sourceUIElement As UITechnologyElement, _
    targetUIElement As UITechnologyElement, _
    mouseButton As MouseButtons _
)
public DragDropAction(
    UITechnologyElement sourceUIElement,
    UITechnologyElement targetUIElement,
    MouseButtons mouseButton
)
public:
DragDropAction(
    UITechnologyElement^ sourceUIElement, 
    UITechnologyElement^ targetUIElement, 
    MouseButtons mouseButton
)
new : 
        sourceUIElement:UITechnologyElement * 
        targetUIElement:UITechnologyElement * 
        mouseButton:MouseButtons -> DragDropAction
public function DragDropAction(
    sourceUIElement : UITechnologyElement, 
    targetUIElement : UITechnologyElement, 
    mouseButton : MouseButtons
)

Parâmetros

Segurança do .NET Framework

Consulte também

Referência

DragDropAction Classe

Sobrecargas DragDropAction

Namespace Microsoft.VisualStudio.TestTools.UITest.Common

UITechnologyElement

MouseButtons