Condividi tramite


IVsHierarchyDropDataSource2 Members

Include Protected Members
Include Inherited Members

Provides information about a dragged item in relation to its data source during a drag-and-drop operation within a hierarchy window. The interface extends and inherits from the IVsHierarchyDropDataSource interface. You only need to use IVsHierarchyDropDataSource2 if you need the additional methods.

The IVsHierarchyDropDataSource2 type exposes the following members.

Methods

  Name Description
Public method GetDropInfo Returns information about one or more of the items being dragged. (Inherited from IVsHierarchyDropDataSource.)
Public method GetDropInfo(UInt32%, IDataObject%, IDropSource%) Returns information about one or more of the dragged items.
Public method OnBeforeDropNotify Enables the drag source to prompt to save unsaved items before dropping. Notifies the source hierarchy that information dragged from it is about to be dropped on a target. This method is called immediately after the mouse button is released on a drop.
Public method OnDropNotify Notifies clients that the dragged item was dropped. (Inherited from IVsHierarchyDropDataSource.)
Public method OnDropNotify(Int32, UInt32) Notifies clients the dragged item was dropped.

Top

See Also

Reference

IVsHierarchyDropDataSource2 Interface

Microsoft.VisualStudio.Shell.Interop Namespace