INotifyHostEventHandler.NotifyHostEventHandler(Object, String) 方法

定义

当对象托管在自定义应用程序中时,处理 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 方法发送的消息的内容。

注解

有关 InfoPathEditorFormControl 对象 的详细信息,请参阅 MSDN 一文在自定义 Windows 窗体应用程序中托管 InfoPath 表单编辑环境面向 InfoPath 开发人员的新增功能。

适用于