SaveEventArgs Class
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.
Provides data for the Save event of a form.
public ref class SaveEventArgs abstract : EventArgs
public abstract class SaveEventArgs : EventArgs
type SaveEventArgs = class
inherit EventArgs
Public MustInherit Class SaveEventArgs
Inherits EventArgs
- Inheritance
-
SaveEventArgs
Remarks
The SaveEventArgs object provides properties and methods that can be used during a save operation from an event handler for the Save event to determine save properties, and perform the save operation.
The properties provided by the SaveEventArgs object are available only during the Save event. This object is destroyed when the form's Save event expires so it may not be stored and used outside of the scope of the Save event.
Constructors
SaveEventArgs() |
Properties
CancelableArgs |
Gets a reference to the SaveCancelEventArgs object that can be used to cancel the Save event. |
Filename |
Gets the file name to be used in the event handler for the Save event. |
IsSaveAs |
Gets whether the PerformSaveOperation() method will be performed as a "save" operation or as a "save as" operation. |
Methods
PerformSaveOperation() |
Performs the save operation requested by the user. |