Partilhar via


source property

Gets the window object that sent the message.

 

Syntax

HRESULT value = object.get_source(IHTMLWindow2** p);

Property values

Type: Object

The window of origin.

Standards information

Remarks

In cross-document messaging, the IDOMMessageEvent::source attribute provides access to the window object that sent the message.