method setDictionary

void setDictionary(dictionary otherDictionary);

Argumente

Zurückgegebener Wert

This method replaces the entire contents of this dictionary with entries in the specified dictionary.
var dictObj = shell.serviceManager.basics.dictionary;
dictObj.setValueForKey("John", "FirstName");
dictObj.setValueForKey("Doe", "LastName");
dictObj.setValueForKey("35", "Age");

var dictObj2 = shell.serviceManager.basics.dictionary;
dictObj2.setValueForKey("Jane", "FirstName");
dictObj2.setValueForKey("Doe", "LastName");
dictObj2.setValueForKey("30", "Age");

dictObj.setDictionary(dictObj2);