SaveEventArgs.PerformSaveOperation Method (Microsoft.Office.InfoPath)

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

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 Office InfoPath 2007.

See Also

Reference

SaveEventArgs Class
SaveEventArgs Members
Microsoft.Office.InfoPath Namespace