Share via


SaveEvent members

Include protected members
Include inherited members

This type is a wrapper for a COM interface implemented by a coclass that is required by managed code for COM interoperability. To access the members specified by this interface, use the type that wraps the coclass that implements this interface. For information about that type, including usage, remarks, and examples, seeSaveEventObject.

The SaveEvent type exposes the following members.

Properties

  Name Description
Public property FileName Gets the file name to be used in the OnSaveRequest event.
Public property IsCancelled Gets or sets a value that provides additional information for use in OnSaveRequest event in conjunction with the ReturnStatus property.
Public property IsSaveAs Gets whether the PerformSaveOperation method will be performed as a "save" operation or as a "save as" operation.
Public property ReturnStatus Gets or sets a value indicating the return status of the OnLoad event and the OnSubmitRequest event. (Inherited from DocReturnEvent.)
Public property ReturnStatus Gets or sets the return status of the OnSaveRequest event.
Public property XDocument Gets a reference to the XDocument object that is associated with the DocEventObject object during an OnSwitchView or OnAfterImport event. (Inherited from DocEvent.)
Public property XDocument Gets a reference to the XDocument object that is associated with the DocReturnEventObject object during an OnLoad or OnSubmitRequest event. (Inherited from DocReturnEvent.)
Public property XDocument Gets a reference to the XDocument object that is associated with the SaveEventObject object in an OnSaveRequest event.

Top

Methods

  Name Description
Public method PerformSaveOperation Performs the save operation requested by the user.

Top

See also

Reference

SaveEvent interface

Microsoft.Office.Interop.InfoPath.SemiTrust namespace