Partager via


InfoPathEditor.CloseDocument - Méthode

Ferme le formulaire actif dans l'objet InfoPathEditor .

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

Syntaxe

'Déclaration
Sub CloseDocument
'Utilisation
Dim instance As InfoPathEditor

instance.CloseDocument()
void CloseDocument()

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

InfoPathEditor interface

InfoPathEditor - Membres

Microsoft.Office.Interop.InfoPath - Espace de noms