storageArea property

Gets the Storage object of the affected document.

 

Syntax

HRESULT value = object.get_storageArea(IHTMLStorage** p);

Property values

Type: Object

The Storage object.

Standards information

  • , Section 4.4.1

Remarks

Typically, the IDOMStorageEvent::storageArea property returns a pointer to either the IHTMLWindow6::localStorage or IHTMLWindow6::sessionStorage property of the window that dispatches the event. If IDOMStorageEvent::initStorageEvent initializes the storage event, IDOMStorageEvent::storageArea might also return other objects. To determine if a user created the event, check the IDOMEvent::isTrusted attribute of the event.

See also

Reference

IHTMLWindow6::localStorage

IHTMLWindow6::sessionStorage

IDOMStorageEvent::url