SaveEventArgs.PerformSaveOperation method

Office 2013 and later

Performs the save operation requested by the user.

Namespace:  Microsoft.Office.InfoPath
Assembly:  Microsoft.Office.InfoPath (in Microsoft.Office.InfoPath.dll)

public abstract bool PerformSaveOperation()

Return value

Type: System.Boolean
true if the "save" or "save as" operation was successful; if the user cancels the operation by clicking Cancel in the Save As dialog box, returns false.

The PerformSaveOperation performs a "save" operation or a "save as" operation depending on the value of the IsSaveAs property. If the operation is successful, the Dirty property is set to false.

This member can be accessed only by forms running in the same domain as the currently open form, or by forms that have been granted cross-domain permissions.

This type or member can be accessed only from code running in forms opened in Microsoft InfoPath Filler.