Partilhar via


IDOMMessageEvent interface

Provides properties and methods for cross-document messaging (XDM) events.

Members

The IDOMMessageEvent interface inherits from the IDispatch interface. IDOMMessageEvent also has these types of members:

  • Methods
  • Properties

Methods

The IDOMMessageEvent interface has these methods.

Method Description
initMessageEvent

Initializes a new cross-document message (XDM) event that the IDocumentEvent::createEvent method created.

 

Properties

The IDOMMessageEvent interface has these properties.

Property Description

data

Gets the data of the event.

origin

Gets the URI of the document of origin.

source

Gets the window object that sent the message.

 

Requirements

Minimum supported client

Windows Vista with SP1, Windows 7

Minimum supported server

Windows Server 2008 R2

Header

Mshtml.h

IDL

Mshtml.idl

DLL

Mshtml.dll

See also

IDispatch