SaveEventArgs.PerformSaveOperation Method
Performs the save operation requested by the user.
Namespace: Microsoft.Office.InfoPath
Assembly: Microsoft.Office.InfoPath (in Microsoft.Office.InfoPath.dll)
Syntax
'Declaration
Public MustOverride Function PerformSaveOperation As Boolean
'Usage
Dim instance As SaveEventArgs
Dim returnValue As Boolean
returnValue = instance.PerformSaveOperation()
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.
Remarks
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.