This topic has not yet been rated - Rate this topic

data property

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

Internet Explorer 8

Syntax

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.

Remarks

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

IHTMLEventObj5::url

 

 

Build date: 11/12/2012

Did you find this helpful?
(1500 characters remaining)

Community Additions

ADD
© 2013 Microsoft. All rights reserved.