add
add(value: MemberType) updating;
The add method of the ExtKeyDictionary class adds the object specified in the value parameter with a null associated key or keys to an external key dictionary.
If you add multiple objects to an external key dictionary by using the add method, the dictionary must be defined to allow duplicate keys. For most applications, this is not particularly useful.
If the external keys are known to the application, it is preferable to use the putAtKey method to insert the entries. If the keys are properties of the object, a member key dictionary is more appropriate. If the keys are not known or required, consider using a
The add method is defined at the Collection class level to provide closure and is inherited by all subclasses of collection. However, use of the Collection class add method with external key dictionaries is not recommended because the method signature does not allow for the specification of external keys.