method setValueForKey

void setValueForKey(value aValue,string aKey);

Argumente

Zurückgegebener Wert

This method adds a key/value pair to the dictionary.
var dictObj = shell.serviceManager.basics.dictionary;
dictObj.setValueForKey("John", "FirstName");
dictObj.setValueForKey("Doe", "LastName");
dictObj.setValueForKey("35", "Age");