共用方式為


DropHandlerBase.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

'宣告
Public Overridable Function HandleDataDropped ( _
    dragDropInfo As DragDropInfo _
) As DragDropPointerEffects
public virtual DragDropPointerEffects HandleDataDropped(
    DragDropInfo dragDropInfo
)
public:
virtual DragDropPointerEffects HandleDataDropped(
    DragDropInfo^ dragDropInfo
)
abstract HandleDataDropped : 
        dragDropInfo:DragDropInfo -> DragDropPointerEffects 
override HandleDataDropped : 
        dragDropInfo:DragDropInfo -> DragDropPointerEffects 
public function HandleDataDropped(
    dragDropInfo : DragDropInfo
) : DragDropPointerEffects

Parameters

Return Value

Type: Microsoft.VisualStudio.Text.Editor.DragDrop.DragDropPointerEffects
The DragDropPointerEffects.

Implements

IDropHandler.HandleDataDropped(DragDropInfo)

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

DropHandlerBase Class

Microsoft.VisualStudio.Text.Editor.DragDrop Namespace