key method
Retrieves the key at the specified index in the collection.
Syntax
retVal = object.key(lIndex);
Parameters
lIndex [in]
Type: longA zero-based index of the list entry, up to the length of the collection.
Standards information
- Web Storage, Section 4.1
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.