IHTMLDocument6::onstoragecommit Property
Gets or sets a pointer to the event handler function associated with the Web Storage HTMLDocumentEvents3::onstoragecommit event.
Syntax
HRESULT IHTMLDocument6::get_onstoragecommit(VARIANT *p);HRESULT IHTMLDocument6::put_onstoragecommit(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.