INotifyHostEventHandler.NotifyHostEventHandler(Object, String) Method

Definition

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

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)

Parameters

sender
Object

The object sending the notification to the host.

notification
String

The contents of the message sent from the NotifyHost method.

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

Applies to