- data
- The data to drag.
- allowedEffects
- One of the System.Windows.Forms.DragDropEffects values.
Visual Basic (Declaration) | |
---|---|
<UIPermissionAttribute(Window=UIPermissionWindow.NoWindows, Clipboard=UIPermissionClipboard.OwnClipboard, Action=SecurityAction.Demand, Unrestricted=False)> Public Function DoDragDrop( _ ByVal data As Object, _ ByVal allowedEffects As DragDropEffects _ ) As DragDropEffects |
Visual Basic (Usage) | Copy Code |
---|---|
Dim instance As Medical3DControl Dim data As Object Dim allowedEffects As DragDropEffects Dim value As DragDropEffects value = instance.DoDragDrop(data, allowedEffects) |
C# | |
---|---|
[UIPermissionAttribute(Window=UIPermissionWindow.NoWindows, Clipboard=UIPermissionClipboard.OwnClipboard, Action=SecurityAction.Demand, Unrestricted=false)] public DragDropEffects DoDragDrop( object data, DragDropEffects allowedEffects ) |
C++/CLI | |
---|---|
[UIPermissionAttribute(Window=UIPermissionWindow.NoWindows, Clipboard=UIPermissionClipboard.OwnClipboard, Action=SecurityAction.Demand, Unrestricted=false)] public: DragDropEffects DoDragDrop( Object^ data, DragDropEffects allowedEffects ) |
Parameters
- data
- The data to drag.
- allowedEffects
- One of the System.Windows.Forms.DragDropEffects values.
Return Value
A value from the System.Windows.Forms.DragDropEffects enumeration that represents the final effect that was performed during the drag-and-drop operation.Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7