The "Value" property contains the boolean value to be passed by reference.

Type Info:

Value as Boolean
Example:
' in a class module "EventClass"

Dim WithEvents App As Application

Private Sub App_BeforeExit(Cancel As ReturnBoolean)
 
Dim MyCancel As Boolean

MyCancel = Cancel.Value

[...]

Cancel.Value = True

End Sub
See also:

Class ReturnBoolean

Last Updated: 04/27/05