DragDrop Constructor (IAfxElement, IAfxElement, MouseButtons)
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
Namespace: Microsoft.VisualStudio.TestTools.UITest.Common
Assembly: Microsoft.VisualStudio.TestTools.UITest.Common (in Microsoft.VisualStudio.TestTools.UITest.Common.dll)
Syntax
'Declaration
Public Sub New ( _
sourceUIElement As IAfxElement, _
targetUIElement As IAfxElement, _
mouseButton As MouseButtons _
)
'Usage
Dim sourceUIElement As IAfxElement
Dim targetUIElement As IAfxElement
Dim mouseButton As MouseButtons
Dim instance As New DragDrop(sourceUIElement, _
targetUIElement, mouseButton)
public DragDrop(
IAfxElement sourceUIElement,
IAfxElement targetUIElement,
MouseButtons mouseButton
)
public:
DragDrop(
IAfxElement^ sourceUIElement,
IAfxElement^ targetUIElement,
MouseButtons mouseButton
)
public function DragDrop(
sourceUIElement : IAfxElement,
targetUIElement : IAfxElement,
mouseButton : MouseButtons
)
new :
sourceUIElement:IAfxElement *
targetUIElement:IAfxElement *
mouseButton:MouseButtons -> DragDrop
Parameters
- sourceUIElement
Type: Microsoft.VisualStudio.TestTools.UITest.Extension.IAfxElement
- targetUIElement
Type: Microsoft.VisualStudio.TestTools.UITest.Extension.IAfxElement
- mouseButton
Type: System.Windows.Forms.MouseButtons
.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.