Share via


SaveEvent.ReturnStatus property

Gets or sets the return status of the OnSaveRequest event.

Namespace:  Microsoft.Office.Interop.InfoPath
Assembly:  Microsoft.Office.Interop.InfoPath (in Microsoft.Office.Interop.InfoPath.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.

See also

Reference

SaveEvent interface

SaveEvent members

ReturnStatus overload

Microsoft.Office.Interop.InfoPath namespace