Export (0) Print
Expand All

clear method

[This documentation is preliminary and is subject to change.]

Removes all key/value pairs from the Web Storage area.

Internet Explorer 8

Syntax


HRESULT retVal = object.clear();

Standards information

There are no standards that apply here.

Parameters

This method has no parameters.

Return value

Type: HRESULT

If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Remarks

Session storage is cleared immediately. Local storage key/value pairs are removed from memory, and disk storage quota is updated.

See also

IHTMLStorage::removeItem

 

 

Build date: 6/6/2012

Community Additions

Show:
© 2014 Microsoft