tryCopyFrom
tryCopyFrom(sourceCollection: Collection) lockReceiver, updating;
The tryCopyFrom method of the Dictionary class copies the values that are not present in the receiver from the collection specified in the sourceCollection parameter to the receiver.
Dictionary implementations (including the
Exception 1312 (Class of value passed to a collection method incompatible with membership) is raised if the member types are not compatible or exception 1000 (Invalid parameter type) for dictionary types if the keys are not compatible.
2022.0.01 and higher