IVsHierarchyDropDataSource2 Interface

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.

Namespace:  Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)

Syntax

'Declaration
<InterfaceTypeAttribute()> _
<GuidAttribute("D84D04B8-8E0D-4298-AD9C-27F8C0D5484A")> _
Public Interface IVsHierarchyDropDataSource2 _
    Inherits IVsHierarchyDropDataSource
'Usage
Dim instance As IVsHierarchyDropDataSource2
[InterfaceTypeAttribute()]
[GuidAttribute("D84D04B8-8E0D-4298-AD9C-27F8C0D5484A")]
public interface IVsHierarchyDropDataSource2 : IVsHierarchyDropDataSource
[InterfaceTypeAttribute()]
[GuidAttribute(L"D84D04B8-8E0D-4298-AD9C-27F8C0D5484A")]
public interface class IVsHierarchyDropDataSource2 : IVsHierarchyDropDataSource
public interface IVsHierarchyDropDataSource2 extends IVsHierarchyDropDataSource

Remarks

Every drag-and-drop operation within a hierarchy requires information about the item dragged and where it is being dropped. IVsHierarchyDropDataSource2 provides the information about the dragged item. The IVsHierarchyDropDataTarget interface provides information about where the item is being dropped.

Fore examples of this interface in use, see the sample Figures Project.

Notes to Implementers:

Hierarchies in VSPackages are most commonly used to display projects. Use this interface within your hierarchy implementation to include drag-and-drop behavior within and between hierarchies.

See Also

Reference

IVsHierarchyDropDataSource2 Members

Microsoft.VisualStudio.Shell.Interop Namespace