IVsHierarchyDropDataSource2::OnDropNotify Method (Int32, UInt32)
Visual Studio 2015
Notifies clients the dragged item was dropped.
Assembly: Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)
Parameters
- fDropped
-
Type:
System::Int32
[in] If true, then the dragged item was dropped on the target. If false, no drop occurred.
- dwEffects
-
Type:
System::UInt32
[in] Pointer to a DWORD value indicating the effect of the drop: DROPEFFECT_COPY, DROPEFFECT_LINK, or DROPEFFECT_MOVE. The values are mutually exclusive and cannot be combined.
Return Value
Type: System::Int32If the method succeeds, it returns S_OK. If it fails, it returns an error code.
From vsshell.idl:
HRESULT IVsHierarchyDropDataSource2::OnDropNotify( [in]BOOL fDropped, [in]DWORD dwEffects );
Use this method to determine whether the data from the source hierarchy was dropped on the target.
Use the OnBeforeDropNotify method of IVsHierarchyDropDataSource2 to let the source hierarchy allow or disallow the drop before it occurs.
Show: