Control.RaiseKeyEvent(Object, KeyEventArgs) Método

Definición

Provoca el evento de tecla adecuado.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)

Parámetros

key
Object

Evento que debe provocarse.The event to raise.

e
KeyEventArgs

Objeto KeyEventArgs que contiene los datos del evento.A KeyEventArgs that contains the event data.

Se aplica a

Consulte también: