Condividi tramite


Costruttore DragDropAction (UITechnologyElement, UITechnologyElement, MouseButtons)

Inizializza una nuova istanza di DragDropAction classe utilizzando gli elementi e l'impostazione forniti con il pulsante del mouse.

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

Sintassi

'Dichiarazione
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
)

Parametri

Sicurezza di .NET Framework

Vedere anche

Riferimenti

DragDropAction Classe

Overload DragDropAction

Spazio dei nomi Microsoft.VisualStudio.TestTools.UITest.Common

UITechnologyElement

MouseButtons