Visual Basic (Declaration) | |
---|---|
Public Function DoDragDrop( _ ByVal data As Object, _ ByVal allowedEffects As DragDropEffects _ ) As DragDropEffects |
Visual Basic (Usage) | Copy Code |
---|---|
|
C# | |
---|---|
public DragDropEffects DoDragDrop( object data, DragDropEffects allowedEffects ) |
Parameters
- data
- The data to drag.
- allowedEffects
- One of the DragDropEffects values.
Return Value
A value from the DragDropEffects enumeration that represents the final effect that was performed during the drag-and-drop operation.Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family