OrderedMultiDictionaryTKey, TValueClone Method |
Makes a shallow clone of this dictionary; i.e., if keys or values of the
dictionary are reference types, then they are not cloned. If TKey or TValue is a value type,
then each element is copied as if by simple assignment.
Namespace: X3Platform.CollectionsAssembly: X3Platform.Support (in X3Platform.Support.dll) Version: 1.0.0.0 (2.0.0.0)
Syntaxpublic OrderedMultiDictionary<TKey, TValue> Clone()
public:
OrderedMultiDictionary<TKey, TValue>^ Clone()
Return Value
Type:
OrderedMultiDictionaryTKey,
TValueThe cloned dictionary.
RemarksCloning the dictionary takes time O(N), where N is the number of key-value pairs in the dictionary.
See Also