SaveEvent.IsSaveAs Property

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

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

Syntax

'Declaration
ReadOnly Property IsSaveAs As Boolean
    Get
'Usage
Dim instance As SaveEvent
Dim value As Boolean

value = instance.IsSaveAs
bool IsSaveAs { get; }

Property Value

Type: System.Boolean

Remarks

The IsSaveAs property returns true when the 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.

Important

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.

See Also

Reference

SaveEvent Interface

SaveEvent Members

Microsoft.Office.Interop.InfoPath.SemiTrust Namespace