INotifyHostEventHandler interface

The interface that must be implemented in the host application to handle the NotifyHost method of the XDocument object when the InfoPathEditor object is hosted in a custom application.

Namespace:  Microsoft.Office.Interop.InfoPath
Assembly:  Microsoft.Office.Interop.InfoPath (in Microsoft.Office.Interop.InfoPath.dll)

public interface INotifyHostEventHandler

The INotifyHostEventHandler interface is used to send data to the host application at any point using custom form code, particularly if the host cannot be accessed by using the Host property of the InfoPathEditor object.

For more information about the InfoPathEditor and the FormControl objects , see the MSDN article Hosting the InfoPath Form Editing Environment in a Custom Windows Form Application and the "The InfoPath Editor Hosted As a Control" section of What's New for InfoPath Developers.