Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

removeItem method

Deletes a key/value pair from the Web Storage collection.

Web Storage, Section 4.1Internet Explorer 8

 

Syntax

var retval = Storage.removeItem(bstrKey);

Parameters

bstrKey [in]

Type: String

The name of the key, or the empty string.

Return value

Type: HRESULT

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

Standards information

See also

Storage
clear

 

 

Show:
© 2017 Microsoft