Partager via


InfoPathEditor.SetNotifyHostEventHandler(INotifyHostEventHandler) Méthode

Définition

Définit le gestionnaire d’événements dans l’application hôte pour gérer l’événement qui se produit lorsque la NotifyHost(String) méthode de l’objet XDocument est utilisée pour notifier l’application hôte.

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)

Paramètres

pHandler
INotifyHostEventHandler

Interface qui doit être implémentée dans l’application personnalisée pour gérer l’événement à partir de l’objet InfoPathEditor .

Remarques

Pour plus d’informations sur les InfoPathEditorFormControl objets et , consultez l’article MSDN Hébergement de l’environnement d’édition de formulaire InfoPath dans une application Windows Form personnaliséeNouveautés pour les développeurs InfoPath.

S’applique à