This method provides a way to extract an item from the Dictionary using its key name as an accessor.
This method can also be used as an alternative to the Dictionary.add() method although its syntax for doing so is unusual.
These two lines of code are syntactically different but functionally the same when creating a new name-value pair:
myDictionary.add("KEY1", "an item text");
myDictionary.item("KEY1") = "an item text";
This suggests that you can use the add() method to replace an item but in fact that will cause an error. The item() ,method, used as if it were an LValue property is the only way to replace an item content.
It is important to use this item within a conditional code block that tests for the existence of the key first. This is because an attempt to retrieve a named item from a Dictionary will create a named but empty item if it does not already exist.
Note the capitalised name of the method.