SaveEvent.PerformSaveOperation Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Performs the save operation requested by the user.
public:
bool PerformSaveOperation();
public bool PerformSaveOperation ();
abstract member PerformSaveOperation : unit -> bool
Public Function PerformSaveOperation () As Boolean
Returns
true if the save operation is successful; otherwise false.
Examples
In the following example, the PerformSaveOperation method of the SaveEventObject object is used to save the form using the internal definition of save.
e.<span class="label">PerformSaveOperation</span>();
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.