tryCopy__

tryCopy__(toColl: Collection input): Collection;

The tryCopy__ method of the Dictionary class copies the values from the receiver dictionary to the specified target toColl collection that are not present in the target collection, and returns a reference to the target collection.

Dictionary implementations (including the MemberKeyDictionary and DynaDictionary classes) support copying to an ExtKeyDictionary class with compatible keys.

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.

2020.0.02 and higher 2020 releases

2022