InfoPathEditor.SetNotifyHostEventHandler(INotifyHostEventHandler) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
设置主机应用程序中的事件处理程序,以处理使用 对象的 方法XDocument通知主机应用程序时NotifyHost(String)发生的事件。
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)
参数
- pHandler
- INotifyHostEventHandler
必须在自定义应用程序中实现以处理来自 InfoPathEditor 对象的事件的接口。
注解
有关 和 对象的详细信息InfoPathEditor,请参阅 MSDN 一文在自定义 Windows 窗体应用程序中托管 InfoPath 表单编辑环境面向 InfoPath 开发人员的新增功能。FormControl