_ApplicationEvents_NewXDocumentEventHandler - Délégué

Représente la méthode qui gérera l'événement NewXDocument .

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

Syntaxe

'Déclaration
<ComVisibleAttribute(False)> _
Public Delegate Sub _ApplicationEvents_NewXDocumentEventHandler ( _
    pDocument As _XDocument _
)
'Utilisation
Dim instance As New _ApplicationEvents_NewXDocumentEventHandler(AddressOf HandlerMethod)
[ComVisibleAttribute(false)]
public delegate void _ApplicationEvents_NewXDocumentEventHandler(
    _XDocument pDocument
)

Paramètres

Remarques

Lorsque vous créez un délégué _ApplicationEvents_NewXDocumentEventHandler , vous identifiez la méthode qui gérera l'événement. Pour associer l'événement à votre gestionnaire d'événements, ajoutez une instance du délégué à l'événement. Le Gestionnaire d'événements est appelé chaque fois que l'événement se produit, sauf si vous supprimez le délégué. Pour plus d'informations, voir Events and Delegates.

Voir aussi

Référence

Microsoft.Office.Interop.InfoPath - Espace de noms