AxHost.KeyPress イベント

定義

KeyPress イベントは、AxHost クラスではサポートされていません。

public:
 event System::Windows::Forms::KeyPressEventHandler ^ KeyPress;
[System.ComponentModel.Browsable(false)]
public event System.Windows.Forms.KeyPressEventHandler KeyPress;
[System.ComponentModel.Browsable(false)]
public event System.Windows.Forms.KeyPressEventHandler? KeyPress;
[<System.ComponentModel.Browsable(false)>]
member this.KeyPress : System.Windows.Forms.KeyPressEventHandler 
Public Custom Event KeyPress As KeyPressEventHandler 

イベントの種類

属性

注釈

KeyPress イベントのハンドラーを追加または削除しようとすると、NotSupportedExceptionがスローされます。 Control クラスから派生したイベントは、AxHost クラスではサポートされていません。 AxHost ラッパーの作成時に ActiveX コントロールによって公開されるイベントは、使用する必要があるイベントです。

適用対象