共用方式為


IDropHandler.HandleDataDropped Method

Indicates that the drag and drop operation has completed, and that the final tasks, if any, should be performed now.

Namespace:  Microsoft.VisualStudio.Text.Editor.DragDrop
Assembly:  Microsoft.VisualStudio.Text.UI.Wpf (in Microsoft.VisualStudio.Text.UI.Wpf.dll)

Syntax

'宣告
Function HandleDataDropped ( _
    dragDropInfo As DragDropInfo _
) As DragDropPointerEffects
DragDropPointerEffects HandleDataDropped(
    DragDropInfo dragDropInfo
)
DragDropPointerEffects HandleDataDropped(
    DragDropInfo^ dragDropInfo
)
abstract HandleDataDropped : 
        dragDropInfo:DragDropInfo -> DragDropPointerEffects 
function HandleDataDropped(
    dragDropInfo : DragDropInfo
) : DragDropPointerEffects

Parameters

Return Value

Type: Microsoft.VisualStudio.Text.Editor.DragDrop.DragDropPointerEffects
The drag and drop effects of this drop operation. For example, if the drop operation has moved data, Move should be returned.

Remarks

This method is called when the user drops the data onto the editor. This marks the end of a drag and drop operation. The IDropHandler is expected to perform the final tasks of the operation.

.NET Framework Security

See Also

Reference

IDropHandler Interface

Microsoft.VisualStudio.Text.Editor.DragDrop Namespace