Share via


DocActionEvent.ReturnStatus property

Gets or sets the return status of the OnClick 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 DocActionEvent
Dim value As Boolean

value = instance.ReturnStatus

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

Property value

Type: System.Boolean

Implements

DocReturnEvent.ReturnStatus

Remarks

The ReturnStatus property of the DocActionEventObject object is available, as the DocActionEvent object inherits from the DocReturnEventObject object, but setting this property to false does not cause the event to fail.

See also

Reference

DocActionEvent interface

DocActionEvent members

ReturnStatus overload

Microsoft.Office.Interop.InfoPath namespace