INotifyHostEventHandler.NotifyHostEventHandler(Object, String) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
当对象托管在自定义应用程序中时,处理 InfoPathEditor 对象的 方法XDocument中的事件NotifyHost(String)。
public:
void NotifyHostEventHandler(System::Object ^ sender, System::String ^ notification);
public void NotifyHostEventHandler(object sender, string notification);
abstract member NotifyHostEventHandler : obj * string -> unit
Public Sub NotifyHostEventHandler (sender As Object, notification As String)
参数
- sender
- Object
将通知发送到主机的对象。
- notification
- String
从 NotifyHost 方法发送的消息的内容。
注解
有关 InfoPathEditor 和 FormControl 对象 的详细信息,请参阅 MSDN 一文在自定义 Windows 窗体应用程序中托管 InfoPath 表单编辑环境面向 InfoPath 开发人员的新增功能。