ToolStripItem.OnGiveFeedback(GiveFeedbackEventArgs) メソッド
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
GiveFeedback イベントを発生させます。
protected:
virtual void OnGiveFeedback(System::Windows::Forms::GiveFeedbackEventArgs ^ giveFeedbackEvent);
protected virtual void OnGiveFeedback(System.Windows.Forms.GiveFeedbackEventArgs giveFeedbackEvent);
abstract member OnGiveFeedback : System.Windows.Forms.GiveFeedbackEventArgs -> unit
override this.OnGiveFeedback : System.Windows.Forms.GiveFeedbackEventArgs -> unit
Protected Overridable Sub OnGiveFeedback (giveFeedbackEvent As GiveFeedbackEventArgs)
パラメーター
- giveFeedbackEvent
- GiveFeedbackEventArgs
イベント データを含む GiveFeedbackEventArgs 。
注釈
イベントを発生させると、デリゲートを介してイベント ハンドラーが呼び出されます。 詳細については、「イベントの 処理と発生」を参照してください。
OnGiveFeedback メソッドでは、デリゲートをアタッチせずに、派生クラスでイベントを処理することもできます。 これは、派生クラスでイベントを処理するために推奨される手法です。
注意 (継承者)
派生クラスで OnGiveFeedback(GiveFeedbackEventArgs) をオーバーライドする場合は、登録されているデリゲートがイベントを受け取るように、基底クラスの OnGiveFeedback(GiveFeedbackEventArgs) メソッドを必ず呼び出してください。