Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
key
Collapse the table of content
Expand the table of content

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:
© 2015 Microsoft