Bearbeiten

Freigeben über


Control.RaiseKeyEvent(Object, KeyEventArgs) Method

Definition

Raises the appropriate key event.

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

Parameters

key
Object

The event to raise.

e
KeyEventArgs

A KeyEventArgs that contains the event data.

Applies to

See also