IHTMLEventObj::returnValue Property
Sets or retrieves the return value from the event.
Syntax
HRESULT IHTMLEventObj::get_returnValue(VARIANT *p); HRESULT IHTMLEventObj::put_returnValue(VARIANT v);
Parameters
- p
Pointer to a variable of type VARIANT that receives one of the values listed in Possible Values.- v
VARIANT that specifies one of the values listed in Possible Values.
Possible Values
true Default. Value from the event is returned. false Default action of the event on the source object is canceled.
Return Value
Returns S_OK if successful, or an error value otherwise.
Remarks
The value of this property takes precedence over values returned by the function, such as through a Microsoft JScript return statement.