url property

Sets or retrieves the fully qualified URL of the document that fired the event.

 

Syntax

HRESULT value = object.put_url( v);HRESULT value = object.get_url(* p);

Property values

Type: BSTR

the URL string.

Remarks

To see if two documents are in the same domain, compare IHTMLEventObj5::url with the IHTMLAnchorElement::hostname property.

See also

IHTMLEventObj5::origin