INotifyHostEventHandler.NotifyHostEventHandler - Méthode

Gère l'événement à partir de la méthode NotifyHost de l'objet XDocument lorsque l'objet InfoPathEditor est hébergé dans une application personnalisée.

Espace de noms :  Microsoft.Office.Interop.InfoPath
Assembly :  Microsoft.Office.Interop.InfoPath (dans Microsoft.Office.Interop.InfoPath.dll)

Syntaxe

'Déclaration
Sub NotifyHostEventHandler ( _
    sender As Object, _
    notification As String _
)
'Utilisation
Dim instance As INotifyHostEventHandler
Dim sender As Object
Dim notification As String

instance.NotifyHostEventHandler(sender, _
    notification)
void NotifyHostEventHandler(
    Object sender,
    string notification
)

Paramètres

  • sender
    Type : System.Object

    Objet qui envoie la notification à l'hôte.

  • notification
    Type : System.String

    Le contenu du message envoyé à partir de la méthode NotifyHost .

Remarques

Pour plus d'informations sur les InfoPathEditor et les objets FormControl , consultez l'article MSDN d'hébergement de l'environnement d'édition du formulaire InfoPath dans une Application de formulaire Windows personnalisée et la section « L'éditeur InfoPath Hosted comme un contrôle » Nouveautés pour les développeurs InfoPath.

Voir aussi

Référence

INotifyHostEventHandler interface

INotifyHostEventHandler - Membres

Microsoft.Office.Interop.InfoPath - Espace de noms