Contents

merge

Merges the contents of a dictionary into the receiver.

Declaration

virtual bool merge(
 const OSDictionary *aDictionary);

Parameters

  • aDictionary:

    The dictionary whose contents are to be merged with the receiver.

Return Value

true if the merge succeeds, false otherwise.

Overview

If there are keys in aDictionary that match keys in the receiving dictionary, then the objects in the receiver are replaced by those from aDictionary, and the replaced objects are released.

See Also

Miscellaneous