property key

(r/o) string key;

Typ

Zugriff

This property gets the key in the key-value pair.
var dictionaryObj = shell.serviceManager.basics.dictionary;            
var enumerator = dictionaryObj.getEnumerator();
while (enumerator.moveNext())
{
    var key = enumerator.current.key;
    var value = enumerator.current.value;
}