When implemented by a class, raises the QueryContinueDrag event.
Namespace: Microsoft.VisualStudio.Data.Services.SupportEntities
Assembly: Microsoft.VisualStudio.Data.Services (in Microsoft.VisualStudio.Data.Services.dll)
Syntax
'宣言
Sub OnQueryContinueDrag ( _
dataObject As IDataObject, _
e As QueryContinueDragEventArgs _
)
'使用
Dim instance As IVsDataViewDragSourceProvider
Dim dataObject As IDataObject
Dim e As QueryContinueDragEventArgs
instance.OnQueryContinueDrag(dataObject, _
e)
void OnQueryContinueDrag(
IDataObject dataObject,
QueryContinueDragEventArgs e
)
void OnQueryContinueDrag(
IDataObject^ dataObject,
QueryContinueDragEventArgs^ e
)
function OnQueryContinueDrag(
dataObject : IDataObject,
e : QueryContinueDragEventArgs
)
Parameters
dataObject
Type: System.Windows.Forms.IDataObjectAn IDataObject object containing a copy of the information to be transferred.
e
Type: System.Windows.Forms.QueryContinueDragEventArgsA QueryContinueEventArgs containing the event data.
Remarks
After dragging has begun, this method is called repeatedly until the drag operation is either canceled or completed.
Override this method if you want to change the point at which dragging is canceled or at which a drop occurs.
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