InfoPathEditor.SetNotifyHostEventHandler(INotifyHostEventHandler) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Sets the event handler in the host application for handling the event that occurs when the NotifyHost(String) method of the XDocument object is used to notify the host application.
public:
void SetNotifyHostEventHandler(Microsoft::Office::Interop::InfoPath::INotifyHostEventHandler ^ pHandler);
public void SetNotifyHostEventHandler (Microsoft.Office.Interop.InfoPath.INotifyHostEventHandler pHandler);
abstract member SetNotifyHostEventHandler : Microsoft.Office.Interop.InfoPath.INotifyHostEventHandler -> unit
Public Sub SetNotifyHostEventHandler (pHandler As INotifyHostEventHandler)
Parameters
- pHandler
- INotifyHostEventHandler
The interface that must be implemented in the custom application to handle the event from the InfoPathEditor object.
Remarks
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 ApplicationWhat's New for InfoPath Developers.