Language

INotifyHostEventHandler インターフェイス

定義

オブジェクトがカスタム アプリケーションでホストされている場合InfoPathEditorにオブジェクトのXDocumentメソッドをNotifyHost(String)処理するためにホスト アプリケーションに実装する必要があるインターフェイス。

public interface class INotifyHostEventHandler
[System.Runtime.InteropServices.Guid("096CD764-0786-11D1-95FA-0080C78EE3BB")]
[System.Runtime.InteropServices.InterfaceType(1)]
public interface INotifyHostEventHandler
type INotifyHostEventHandler = interface
Public Interface INotifyHostEventHandler
属性

注釈

INotifyHostEventHandler インターフェイスは、特に InfoPathEditor オブジェクトの プロパティを使用してホストにアクセスできない場合に、カスタム フォーム コードを使用して任意の時点でホスト アプリケーションにデータを送信するために使用Hostされます。

InfoPathEditor と FormControl オブジェクトの詳細については、MSDN の記事「カスタム Windows フォーム アプリケーションでの InfoPath フォーム編集環境のホスティング InfoPath開発者向けの新機能」を参照してください。

メソッド

名前 説明
NotifyHostEventHandler(Object, String)

オブジェクトがカスタム アプリケーションで NotifyHost(String) ホストされている場合、 XDocument オブジェクトの InfoPathEditor メソッドからイベントを処理します。

適用対象