次の方法で共有


IDropHandler.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:
 Microsoft::VisualStudio::Text::Editor::DragDrop::DragDropPointerEffects HandleDataDropped(Microsoft::VisualStudio::Text::Editor::DragDrop::DragDropInfo ^ dragDropInfo);
Microsoft::VisualStudio::Text::Editor::DragDrop::DragDropPointerEffects HandleDataDropped(Microsoft::VisualStudio::Text::Editor::DragDrop::DragDropInfo const & dragDropInfo);
public 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
Public 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.

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