Export (0) Print
Expand All

key method

Retrieves the key at the specified index in the collection.

Web Storage, Section 4.1Internet Explorer 8

 

Syntax


 retVal = object.key(lIndex);

Parameters

lIndex [in]

Type: long

A zero-based index of the list entry, up to the length of the collection.

Standards information

Remarks

The key can be any string, including the empty string.

The order of keys may change when items are added to the collection.

Free the memory returned in pbstrKey with SysFreeString.

See also

IHTMLStorage::getItem

 

 

Community Additions

ADD
Show:
© 2014 Microsoft