FormControl.SetNotifyHostEventHandler-Methode
Legt den Ereignishandler in der Hostanwendung für die Verarbeitung des Ereignisses fest, das beim Benachrichtigen der Hostanwendung mit der NotifyHost-Methode des XDocument-Objekts auftritt.
Namespace: Microsoft.Office.InfoPath
Assembly: Microsoft.Office.InfoPath.FormControl (in microsoft.office.infopath.formcontrol.dll)
Syntax
'Declaration
Public Overridable Sub SetNotifyHostEventHandler ( _
handler As INotifyHostEventHandler _
)
'Usage
Dim instance As FormControl
Dim handler As INotifyHostEventHandler
instance.SetNotifyHostEventHandler(handler)
public virtual void SetNotifyHostEventHandler (
INotifyHostEventHandler handler
)
Parameter
- handler
Die Schnittstelle, die in der Hostanwendung für die Verarbeitung des Ereignisses vom FormControl-Objekt implementiert werden muss.
Hinweise
Weitere Informationen zum FormControl-Objekt finden Sie unter Hosting the InfoPath 2007 Form Editing Environment in a Custom Windows Form Application und im Abschnitt "Der als Steuerelement gehostete InfoPath-Editor" von Neuigkeiten für InfoPath-Entwickler.
Siehe auch
Referenz
FormControl-Klasse
FormControl-Member
Microsoft.Office.InfoPath-Namespace