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