Edit

Share via


SaveEventArgs.PerformSaveOperation Method

Definition

Performs the save operation requested by the user.

public:
 abstract bool PerformSaveOperation();
public abstract bool PerformSaveOperation ();
abstract member PerformSaveOperation : unit -> bool
Public MustOverride Function PerformSaveOperation () As Boolean

Returns

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.

Applies to