Control.RaiseDragEvent(Object, DragEventArgs) Control.RaiseDragEvent(Object, DragEventArgs) Control.RaiseDragEvent(Object, DragEventArgs) Control.RaiseDragEvent(Object, DragEventArgs) Method

定义

引发适当的拖动事件。Raises the appropriate drag event.

protected:
 void RaiseDragEvent(System::Object ^ key, System::Windows::Forms::DragEventArgs ^ e);
protected void RaiseDragEvent (object key, System.Windows.Forms.DragEventArgs e);
member this.RaiseDragEvent : obj * System.Windows.Forms.DragEventArgs -> unit
Protected Sub RaiseDragEvent (key As Object, e As DragEventArgs)

参数

key
Object Object Object Object

要引发的事件。The event to raise.

e
DragEventArgs DragEventArgs DragEventArgs DragEventArgs

包含事件数据的 DragEventArgsA DragEventArgs that contains the event data.

适用于

另请参阅