This topic has not yet been rated - Rate this topic

removeItem method

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

Web Storage, Section 4.1Internet Explorer 8

Syntax


HRESULT retVal = object.removeItem(bstrKey);

Parameters

bstrKey [in]

Type: BSTR

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

IHTMLStorage::clear

 

 

Build date: 11/12/2012

Did you find this helpful?
(1500 characters remaining)

Community Additions

ADD
© 2013 Microsoft. All rights reserved.