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)
Syntax
'Declaration
<InterfaceTypeAttribute(ComInterfaceType.InterfaceIsIUnknown)> _
<GuidAttribute("096CD764-0786-11D1-95FA-0080C78EE3BB")> _
Public Interface INotifyHostEventHandler
'Usage
Dim instance As INotifyHostEventHandler
[InterfaceTypeAttribute(ComInterfaceType.InterfaceIsIUnknown)]
[GuidAttribute("096CD764-0786-11D1-95FA-0080C78EE3BB")]
public interface INotifyHostEventHandler
Remarks
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.