共用方式為


IVsHierarchyDirectionalDropDataTarget Interface

Definition

Handles drop targets above, below, and on the item. This interface is implemented by an IVsHierarchy.

public interface class IVsHierarchyDirectionalDropDataTarget
public interface class IVsHierarchyDirectionalDropDataTarget
__interface IVsHierarchyDirectionalDropDataTarget
[System.Runtime.InteropServices.Guid("EDF56D0F-44E4-4E24-ABC1-3851B568EF26")]
[System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)]
public interface IVsHierarchyDirectionalDropDataTarget
[<System.Runtime.InteropServices.Guid("EDF56D0F-44E4-4E24-ABC1-3851B568EF26")>]
[<System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)>]
type IVsHierarchyDirectionalDropDataTarget = interface
Public Interface IVsHierarchyDirectionalDropDataTarget
Attributes

Remarks

This interface is similar to IVsHierarchyDropDataTarget but with extra parameters to facilitate supporting three different drop areas per item.

If an IVsHierarchy implements both IVsHierarchyDirectionalDropDataTarget and IVsHierarchyDropDataTarget, only the methods in IVsHierarchyDirectionalDropDataTarget will be called.

Methods

DragEnterArea(IDataObject, UInt32, UInt32, UInt32, UInt32)

Informs the hierarchy that dragging has entered a new area.

DragLeaveArea()

Informs the hierarchy that dragging has left the area.

DragOverArea(UInt32, UInt32, UInt32, UInt32)

Informs the hierarchy that dragging has continued over an area.

DropArea(IDataObject, UInt32, UInt32, UInt32, UInt32)

Informs the hierarchy that data has been dropped on an area.

GetSupportedAreas(UInt32, UInt32)

Gets the areas supported by the target.

Applies to