SaveEvent Members
Collapse the table of content
Expand the table of content
Important This document may not represent best practices for current development, links to downloads and other resources may no longer be valid. Current recommended version can be found here. ArchiveDisclaimer

SaveEvent Members (Microsoft.Office.Interop.InfoPath)

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 following tables list the members exposed by the SaveEvent type.

  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 the return status of the OnSaveRequest event.
Public property XDocument Gets a reference to the XDocument object that is associated with the SaveEventObject object in an OnSaveRequest event.

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