removeItem method
Deletes a key/value pair from the Web Storage collection.
Syntax
HRESULT retVal = object.removeItem(bstrKey);
Parameters
bstrKey [in]
Type: BSTRThe 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
- Web Storage, Section 4.1