Contents

merge

Adds all members of a dictionary to this dictionary.

Declaration

bool merge(const OSDictionary *otherDictionary);

Parameters

  • otherDictionary:

    All members of thie dictionary will be added to the array.

Return Value

True on success, which retains all the added objects, or false on failure which does not retain the objects.

Discussion

Adds all members of a dictionary to this dictionary. Any keys in the dictionary that exist will be replaced. The dictionary capacity will be grown if necessary.

See Also

Creating a Dictionary