Kommentar
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
Initializes a new instance of the DragAction class by using the provided element and buttons.
Namespace: Microsoft.VisualStudio.TestTools.UITest.Common
Assembly: Microsoft.VisualStudio.TestTools.UITest.Common (in Microsoft.VisualStudio.TestTools.UITest.Common.dll)
Syntax
'Declaration
Public Sub New ( _
uiElement As UITechnologyElement, _
mouseButton As MouseButtons _
)
public DragAction(
UITechnologyElement uiElement,
MouseButtons mouseButton
)
public:
DragAction(
UITechnologyElement^ uiElement,
MouseButtons mouseButton
)
new :
uiElement:UITechnologyElement *
mouseButton:MouseButtons -> DragAction
public function DragAction(
uiElement : UITechnologyElement,
mouseButton : MouseButtons
)
Parameters
uiElement
Type: Microsoft.VisualStudio.TestTools.UITest.Extension.UITechnologyElementA UITechnologyElement object.
mouseButton
Type: MouseButtonsA member of the MouseButtons enumeration that indicates which button is pressed.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.