Control.RaiseDragEvent(Object, DragEventArgs) 方法

定義

引發適當的拖曳事件。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

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

e
DragEventArgs

DragEventArgs,其中包含事件資料。A DragEventArgs that contains the event data.

適用於

另請參閱