MultiDictionaryTKey, TValueCloneContents Method |
Namespace: X3Platform.Collections
Exception | Condition |
---|---|
InvalidOperationException | TKey or TValue is a reference type that does not implement ICloneable. |
If TKey or TValue is a reference type, it must implement ICloneable. Otherwise, an InvalidOperationException is thrown.
Cloning the dictionary takes time O(N log N), where N is the number of key-value pairs in the dictionary.