method valueForKey

value valueForKey(string aKey);

Argumente

Zurückgegebener Wert

This method returns the value that corresponds to the specified key.
var dictObj = shell.serviceManager.basics.dictionary;
dictObj.setValueForKey("John", "FirstName");
dictObj.setValueForKey("Doe", "LastName");
dictObj.setValueForKey("35", "Age");

var aValue = dictObj.valueForKey("FirstName");