共用方式為


onstoragecommit property

Sets or retrieves a pointer to the event handler function associated with the Web Storage HTMLDocumentEvents3::onstoragecommit event.

 

Syntax

HRESULT value = object.put_onstoragecommit(VARIANT v);HRESULT value = object.get_onstoragecommit(VARIANT* p);

Property values

Type: VARIANT

the IDispatch interface of an object with a default method that is invoked when the event occurs.