Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

data property

Sets or retrieves the body of the HTMLWindowEvents3::onmessage request.

Internet Explorer 8



HRESULT value = object.put_data( v);HRESULT value = object.get_data(* p);

Property values

Type: BSTR

the body of the message, if specified by the sender; otherwise an uninitialized BSTR.


The IHTMLEventObj5::data property contains the value passed to IHTMLWindow6::postMessage. Before trusting the data, check the IHTMLEventObj5::url property of the message request to determine its source.

See also




Community Additions

© 2015 Microsoft