Partager via


DropHandlerBase.HandleDataDropped(DragDropInfo) Method

Definition

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

public:
 virtual Microsoft::VisualStudio::Text::Editor::DragDrop::DragDropPointerEffects HandleDataDropped(Microsoft::VisualStudio::Text::Editor::DragDrop::DragDropInfo ^ dragDropInfo);
 virtual Microsoft::VisualStudio::Text::Editor::DragDrop::DragDropPointerEffects HandleDataDropped(Microsoft::VisualStudio::Text::Editor::DragDrop::DragDropInfo const & dragDropInfo);
public virtual Microsoft.VisualStudio.Text.Editor.DragDrop.DragDropPointerEffects HandleDataDropped (Microsoft.VisualStudio.Text.Editor.DragDrop.DragDropInfo dragDropInfo);
abstract member HandleDataDropped : Microsoft.VisualStudio.Text.Editor.DragDrop.DragDropInfo -> Microsoft.VisualStudio.Text.Editor.DragDrop.DragDropPointerEffects
override this.HandleDataDropped : Microsoft.VisualStudio.Text.Editor.DragDrop.DragDropInfo -> Microsoft.VisualStudio.Text.Editor.DragDrop.DragDropPointerEffects
Public Overridable Function HandleDataDropped (dragDropInfo As DragDropInfo) As DragDropPointerEffects

Parameters

dragDropInfo
DragDropInfo

Information about the drag and drop operation in progress.

Returns

The drag and drop effects of this drop operation. For example, if the drop operation has moved data, DragDropPointerEffects.Move should be returned.

Implements

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.

Applies to