When implemented by a class, handles the drop operation.
Namespace: Microsoft.VisualStudio.Data.Services.SupportEntities
Assembly: Microsoft.VisualStudio.Data.Services (in Microsoft.VisualStudio.Data.Services.dll)
Syntax
'宣言
Sub OnDropped ( _
dataObject As IDataObject, _
effect As DragDropEffects _
)
'使用
Dim instance As IVsDataViewDragSourceProvider
Dim dataObject As IDataObject
Dim effect As DragDropEffects
instance.OnDropped(dataObject, effect)
void OnDropped(
IDataObject dataObject,
DragDropEffects effect
)
void OnDropped(
IDataObject^ dataObject,
DragDropEffects effect
)
function OnDropped(
dataObject : IDataObject,
effect : DragDropEffects
)
Parameters
dataObject
Type: System.Windows.Forms.IDataObjectAn IDataObject object containing a copy of the information to be transferred.
effect
Type: System.Windows.Forms.DragDropEffectsA DragDropEffects object specifying the drag-and-drop effects, such as whether the data is copied, moved, or linked.
Permissions
- 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.
See Also
Reference
IVsDataViewDragSourceProvider Interface
IVsDataViewDragSourceProvider Members
Microsoft.VisualStudio.Data.Services.SupportEntities Namespace