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
- dragDropInfo
Type: Microsoft.VisualStudio.Text.Editor.DragDrop.DragDropInfo
Information about the drag and drop operation in progress.
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
- 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.