InfoPathEditor.SetNotifyHostEventHandler method

Sets the event handler in the host application for handling the event that occurs when the NotifyHost method of the XDocument object is used to notify the host application.

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

Syntax

'Declaration
Sub SetNotifyHostEventHandler ( _
    pHandler As INotifyHostEventHandler _
)
'Usage
Dim instance As InfoPathEditor
Dim pHandler As INotifyHostEventHandler

instance.SetNotifyHostEventHandler(pHandler)
void SetNotifyHostEventHandler(
    INotifyHostEventHandler pHandler
)

Parameters

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 Application and the "The InfoPath Editor Hosted As a Control" section of What's New for InfoPath Developers.

See also

Reference

InfoPathEditor interface

InfoPathEditor members

Microsoft.Office.Interop.InfoPath namespace