Share via


_ApplicationEvents_Event.NewXDocument - Événement

Se produit lorsqu'un nouveau formulaire est créé.

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

Syntaxe

'Déclaration
Event NewXDocument As _ApplicationEvents_NewXDocumentEventHandler
'Utilisation
Dim instance As _ApplicationEvents_Event
Dim handler As _ApplicationEvents_NewXDocumentEventHandler

AddHandler instance.NewXDocument, handler
event _ApplicationEvents_NewXDocumentEventHandler NewXDocument

Remarques

L'événement NewXDocument de l'interface _ApplicationEvents_Event est principalement utilisé avec les compléments COM. Pour plus d'informations sur la création d'un COM Add-in pour Microsoft InfoPath, voir How To: Create a COM Add-in to Add Custom Features to InfoPath.

Voir aussi

Référence

_ApplicationEvents_Event interface

_ApplicationEvents_Event - Membres

Microsoft.Office.Interop.InfoPath - Espace de noms