編輯

共用方式為


INotifyHostEventHandler Interface

Definition

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

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
Attributes

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 ApplicationWhat's New for InfoPath Developers.

Methods

NotifyHostEventHandler(Object, String)

Handles the event from the NotifyHost(String) method of the XDocument object when the InfoPathEditor object is hosted in a custom application.

Applies to