Compartilhar via


url property

Gets the address of the document that the update affects.

 

Syntax

HRESULT value = object.get_url(* p);

Property values

Type: BSTR

The document address.

Standards information

  • , Section 4.4.1

Remarks

When a storage event occurs, the IDOMStorageEvent::url and IDOMStorageEvent::storageArea properties are set to the address and Storage object of the affected document. IDOMStorageEvent::initStorageEvent can mimic these values, so you should not trust the values without checking the IDOMEvent::isTrusted attribute of the event.

See also

IDOMStorageEvent::storageArea