共用方式為


IDropTarget.DragEnter(IDataObject, UInt32, POINTL, UInt32) Method

Definition

public:
 void DragEnter(Microsoft::VisualStudio::OLE::Interop::IDataObject ^ pDataObj, System::UInt32 grfKeyState, Microsoft::VisualStudio::OLE::Interop::POINTL pt, [Runtime::InteropServices::Out] System::UInt32 % pdwEffect);
void DragEnter(Microsoft::VisualStudio::OLE::Interop::IDataObject const & pDataObj, unsigned int grfKeyState, Microsoft::VisualStudio::OLE::Interop::POINTL pt, [Runtime::InteropServices::Out] unsigned int & pdwEffect);
public void DragEnter (Microsoft.VisualStudio.OLE.Interop.IDataObject pDataObj, uint grfKeyState, Microsoft.VisualStudio.OLE.Interop.POINTL pt, out uint pdwEffect);
abstract member DragEnter : Microsoft.VisualStudio.OLE.Interop.IDataObject * uint32 * Microsoft.VisualStudio.OLE.Interop.POINTL * uint32 -> unit
Public Sub DragEnter (pDataObj As IDataObject, grfKeyState As UInteger, pt As POINTL, ByRef pdwEffect As UInteger)

Parameters

pDataObj
IDataObject
grfKeyState
UInt32
pt
POINTL
pdwEffect
UInt32

Remarks

For information on the COM interface, see IDropTarget::DragEnter

Applies to