Export (0) Print
Expand All

SaveEventArgs.IsSaveAs property

Gets whether the PerformSaveOperation method will be performed as a "save" operation or as a "save as" operation.

Namespace:  Microsoft.Office.InfoPath
Assembly:  Microsoft.Office.InfoPath (in Microsoft.Office.InfoPath.dll)

public abstract bool IsSaveAs { get; }

Property value

Type: System.Boolean
true if the PerformSaveOperation method will be performed as a "save as" operation; false if the method will be performed as a "save" operation.

The IsSaveAs property returns true when the Save event was triggered by a call to the SaveAs method, or by a call to the Save method when the document is new, or by a call to either method when the document is read-only. Otherwise, the IsSaveAs property returns false.

This member can be accessed only by forms running in the same domain as the currently open form, or by forms that have been granted cross-domain permissions.

This type or member can be accessed only from code running in forms opened in Microsoft InfoPath Filler.

Community Additions

Show:
© 2014 Microsoft