다음을 통해 공유


IVsHierarchyDropDataSource Interface

Definition

Provides information about a dragged item in relation to its data source during a drag-and-drop operation within a hierarchy window. You can get an instance of this interface from the IVsHierarchy interface.

public interface class IVsHierarchyDropDataSource
public interface class IVsHierarchyDropDataSource
__interface IVsHierarchyDropDataSource
[System.Runtime.InteropServices.Guid("AC7D8BE5-B7F5-400B-B02C-35207672F56B")]
[System.Runtime.InteropServices.InterfaceType(1)]
public interface IVsHierarchyDropDataSource
[System.Runtime.InteropServices.Guid("AC7D8BE5-B7F5-400B-B02C-35207672F56B")]
[System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)]
public interface IVsHierarchyDropDataSource
[<System.Runtime.InteropServices.Guid("AC7D8BE5-B7F5-400B-B02C-35207672F56B")>]
[<System.Runtime.InteropServices.InterfaceType(1)>]
type IVsHierarchyDropDataSource = interface
[<System.Runtime.InteropServices.Guid("AC7D8BE5-B7F5-400B-B02C-35207672F56B")>]
[<System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)>]
type IVsHierarchyDropDataSource = interface
Public Interface IVsHierarchyDropDataSource
Derived
Attributes

Remarks

In every drag-and-drop operation within a hierarchy, information is required about the item that is being dragged and where it is being dropped. IVsHierarchyDropDataSource provides the information about the item being dragged. The IVsHierarchyDropDataTarget interface provides information about where the item is being dropped.

Notes to Implementers

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

Methods

GetDropInfo(UInt32, IDataObject, IDropSource)

Returns information about one or more of the items being dragged.

OnDropNotify(Int32, UInt32)

Notifies clients that the dragged item was dropped.

Applies to