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.
Begins a drag-and-drop operation.
Namespace: Microsoft.Office.Tools
Assembly: Microsoft.Office.Tools.Common (in Microsoft.Office.Tools.Common.dll)
Syntax
'Declaration
Function DoDragDrop ( _
data As Object, _
allowedEffects As DragDropEffects _
) As DragDropEffects
DragDropEffects DoDragDrop(
Object data,
DragDropEffects allowedEffects
)
Parameters
data
Type: System.ObjectThe data to drag.
allowedEffects
Type: System.Windows.Forms.DragDropEffectsOne of the DragDropEffects values.
Return Value
Type: System.Windows.Forms.DragDropEffects
A value that represents the final effect that was performed during the drag-and-drop operation.
Remarks
This method provides the same functionality as the Control.DoDragDrop method. For more information about using this method, see Control.DoDragDrop.
.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.
See Also
Reference
Microsoft.Office.Tools Namespace