returnValue property
[This documentation is preliminary and is subject to change.]
Sets or retrieves the return value from the event.
Syntax
HRESULT value = object.put_returnValue(VARIANT v);HRESULT value = object.get_returnValue(VARIANT* p);
Property values
Type: VARIANT
true
-
Default. Value from the event is returned.
false
-
Default action of the event on the source object is canceled.
Remarks
The value of this property takes precedence over values returned by the function, such as through a Microsoft JScript return statement.
Build date: 6/12/2012
Community Additions
Show: