Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
returnValue
Collapse the table of content
Expand the table of content

returnValue property

Sets or gets the value returned from the modal dialog window.

This property is not supported for Windows Store apps using JavaScript.

Syntax

HRESULT value = object.put_returnValue(VARIANT v);HRESULT value = object.get_returnValue(VARIANT* p);

Property values

Type: VARIANT

the value returned from the window.

Remarks

This property applies only to windows created by using the IHTMLWindow2::showModalDialog method.

For event handler functions, the value of this property takes precedence over values returned by the function, such as through a return statement.

 

 

Community Additions

ADD
Show:
© 2015 Microsoft