origin property
[This documentation is preliminary and is subject to change.]
Sets or retrieves the scheme, hostname, and port of the document that fired the HTMLWindowEvents3::onmessage event.
Syntax
HRESULT value = object.put_origin(BSTR v);HRESULT value = object.get_origin(BSTR* 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
Build date: 6/12/2012