![Collapse image](collapse_all.gif)
![Expand Image](expand_all.gif)
![CollapseAll image](collall.gif)
![ExpandAll image](expall.gif)
![DropDown image](drpdown.gif)
![DropDownHover image](drpdown_orange.gif)
![Copy image](copycode.gif)
![CopyHover image](copycodeHighlight.gif)
[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]
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: Wintellect.PowerCollections
Assembly:
PowerCollections (in PowerCollections.dll)
Syntax
C# |
---|
public OrderedMultiDictionary<TKey, TValue> Clone() |
Visual Basic (Declaration) |
---|
Public Function Clone As OrderedMultiDictionary(Of TKey, TValue) |
Visual C++ |
---|
public: OrderedMultiDictionary<TKey, TValue>^ Clone () |
Return Value
The cloned dictionary.
Remarks
Cloning the dictionary takes time O(N), where N is the number of key-value pairs in the dictionary.