SaveEventArgs Interface
Provides data for the BeforeSave event.
Assembly: Microsoft.Office.Tools.Word (in Microsoft.Office.Tools.Word.dll)
| Name | Description | |
|---|---|---|
![]() | Cancel | Gets or sets a value indicating whether to cancel the save operation. |
![]() | ShowSaveAsDialog | Gets or sets a value indicating whether to display the Save As dialog box. |
The following code example demonstrates an event handler for the BeforeSave event. When you save the document, the event handler prompts you to cancel or continue with the save operation.
This example is for a document-level customization.
Show:
