_XDocument4.Save - Méthode

Enregistre le formulaire dans l’URL (Uniform Resource Locator) qui lui est actuellement associée.

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

Syntaxe

'Déclaration
Sub Save
'Utilisation
Dim instance As _XDocument4

instance.Save()
void Save()

Implémentations

_XDocument3.Save()

Remarques

La méthode Save renvoie une erreur si elle est appelée à partir d'un formulaire qui ne dispose pas d'une autorisation totale.

Exemples

if(thisXDocument.IsNew){thisXDocument.SaveAs("c:\\myforms\\form1.xml");}else{thisXDocument.
Save
();}

Voir aussi

Référence

_XDocument4 interface

_XDocument4 - Membres

Save - Surcharge

Microsoft.Office.Interop.InfoPath - Espace de noms