共用方式為


IDropTarget Interface

Definition

Part of implementing drag-and-drop operations. Implemented by an object that can be a target for data during a drag-and-drop operation. For more information, see IDropTarget.

public interface class IDropTarget
public interface class IDropTarget
__interface IDropTarget
[System.Runtime.InteropServices.Guid("00000122-0000-0000-C000-000000000046")]
[System.Runtime.InteropServices.InterfaceType(1)]
public interface IDropTarget
[System.Runtime.InteropServices.Guid("00000122-0000-0000-C000-000000000046")]
[System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)]
public interface IDropTarget
[<System.Runtime.InteropServices.Guid("00000122-0000-0000-C000-000000000046")>]
[<System.Runtime.InteropServices.InterfaceType(1)>]
type IDropTarget = interface
[<System.Runtime.InteropServices.Guid("00000122-0000-0000-C000-000000000046")>]
[<System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)>]
type IDropTarget = interface
Public Interface IDropTarget
Attributes

Methods

DragEnter(IDataObject, UInt32, POINTL, UInt32)
DragLeave()
DragOver(UInt32, POINTL, UInt32)
Drop(IDataObject, UInt32, POINTL, UInt32)

Applies to