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)

Syntax

'Declaration
Public MustOverride ReadOnly Property IsSaveAs As Boolean
    Get
'Usage
Dim instance As SaveEventArgs
Dim value As Boolean

value = instance.IsSaveAs
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.

Remarks

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.

See Also

Reference

SaveEventArgs Class

SaveEventArgs Members

Microsoft.Office.InfoPath Namespace