Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

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

 

 

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.