次の方法で共有


FormControl.SetNotifyHostEventHandler(INotifyHostEventHandler) メソッド

定義

オブジェクトのメソッドXDocumentを使用してホスト アプリケーションに通知するときに発生するイベントをNotifyHost(String)処理するイベント ハンドラーをホスト アプリケーションで設定します。

public:
 virtual void SetNotifyHostEventHandler(Microsoft::Office::Interop::InfoPath::INotifyHostEventHandler ^ handler);
public virtual void SetNotifyHostEventHandler (Microsoft.Office.Interop.InfoPath.INotifyHostEventHandler handler);
abstract member SetNotifyHostEventHandler : Microsoft.Office.Interop.InfoPath.INotifyHostEventHandler -> unit
override this.SetNotifyHostEventHandler : Microsoft.Office.Interop.InfoPath.INotifyHostEventHandler -> unit
Public Overridable Sub SetNotifyHostEventHandler (handler As INotifyHostEventHandler)

パラメーター

handler
INotifyHostEventHandler

オブジェクトから FormControl イベントを処理するためにカスタム アプリケーションに実装する必要があるインターフェイス。

注釈

FormControl オブジェクトの詳細については、「カスタム Windows フォーム アプリケーションでの InfoPath フォーム編集環境のホスト」を参照してください。

適用対象