When implemented by a class, raises the DragDrop event.
Namespace: Microsoft.VisualStudio.Data.Services.SupportEntities
Assembly: Microsoft.VisualStudio.Data.Services (in Microsoft.VisualStudio.Data.Services.dll)
Syntax
'宣言
Sub OnDragDrop ( _
itemId As Integer, _
e As DragEventArgs _
)
'使用
Dim instance As IVsDataViewDropTargetProvider
Dim itemId As Integer
Dim e As DragEventArgs
instance.OnDragDrop(itemId, e)
void OnDragDrop(
int itemId,
DragEventArgs e
)
void OnDragDrop(
int itemId,
DragEventArgs^ e
)
function OnDragDrop(
itemId : int,
e : DragEventArgs
)
Parameters
itemId
Type: System.Int32A numerical identifier for the node in the data view hierarchy.
e
Type: System.Windows.Forms.DragEventArgsA DragEventArgs containing the event data.
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
IVsDataViewDropTargetProvider Interface
IVsDataViewDropTargetProvider Members
Microsoft.VisualStudio.Data.Services.SupportEntities Namespace