Export (0) Print
Expand All

IHTMLFrameSetElement3::onstorage Property

New for Windows Internet Explorer 9

Gets or sets a pointer to the event handler function associated with the Web Storage event.

Syntax


HRESULT IHTMLFrameSetElement3::get_onstorage(VARIANT *p);HRESULT IHTMLFrameSetElement3::put_onstorage(VARIANT v);

Parameters

p
Pointer to a variable of type VARIANT that receives the IDispatch interface of an object with a default method that is invoked when the event occurs.
v
VARIANT that specifies the IDispatch interface of an object with a default method that is invoked when the event occurs.

Return Value

Returns S_OK if successful, or an error value otherwise.

Remarks

The onstorage event is fired in a document when a storage area changes. All documents sharing the same session context, and those that are currently displaying a page from the same domain or subdomain where local storage is being committed, receive the event.

 New for Internet Explorer 9 Internet Explorer 9. This event has been extended to IHTMLWindow7 and IHTMLBodyElement4.

See Also

HTMLDocumentEvents3::onstorage

Community Additions

ADD
Show:
© 2014 Microsoft