SaveEvent.ReturnStatus Property

Gets or sets the return status of the OnSaveRequest event.

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

Syntax

'Declaration
Property ReturnStatus As Boolean
    Get
    Set
'Usage
Dim instance As SaveEvent
Dim value As Boolean

value = instance.ReturnStatus

instance.ReturnStatus = value
bool ReturnStatus { get; set; }

Property Value

Type: System.Boolean

Implements

DocReturnEvent.ReturnStatus

Remarks

For the OnSaveRequest event, if the ReturnStatus property is set to false, the document is not saved. If set to true, the save operation is successful.

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

ReturnStatus Overload

Microsoft.Office.Interop.InfoPath.SemiTrust Namespace