Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

origin property

Sets or retrieves the scheme, hostname, and port of the document that fired the HTMLWindowEvents3::onmessage event.

Internet Explorer 8

Syntax

HRESULT value = object.put_origin( v);HRESULT value = object.get_origin(* p);

Property values

Type: BSTR

a scheme followed by a hostname and a possibly a port.

Remarks

The origin includes the scheme, hostname, and port of the document, but not its path or fragment identifier. The scheme protocol must be either HTTP (unsecured) or Secure Hypertext Transfer Protocol (HTTPS).

See also

Reference
HTMLWindowEvents3::onmessage
IHTMLEventObj5::url

 

 

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.