SaveEvent.PerformSaveOperation Method
Performs the save operation requested by the user.
Namespace: Microsoft.Office.Interop.InfoPath
Assembly: Microsoft.Office.Interop.InfoPath (in microsoft.office.interop.infopath.dll)
Syntax
'Declaration
'Usage
Return Value
true if the save operation is successful; otherwise false.
Remarks
The PerformSaveOperation method performs a "save" or "save as" operation depending on the value of the IsSaveAs property. If the operation is successful, the IsDirty property is set to false and the PerformSaveOperation method returns true.
Example
In the following example, the PerformSaveOperation method of the SaveEventObject object is used to save the form using the internal definition of save.
e.PerformSaveOperation();
See Also
Reference
SaveEvent Interface
SaveEvent Members
Microsoft.Office.Interop.InfoPath Namespace