CollectionHelperShallowCopyTKey, TValue Method (DictionaryTKey, TValue) |
Returns a copy of the dictionary passed across.
Namespace: VirtualRadar.InterfaceAssembly: VirtualRadar.Interface (in VirtualRadar.Interface.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax public static Dictionary<TKey, TValue> ShallowCopy<TKey, TValue>(
Dictionary<TKey, TValue> dictionary
)
Public Shared Function ShallowCopy(Of TKey, TValue) (
dictionary As Dictionary(Of TKey, TValue)
) As Dictionary(Of TKey, TValue)
public:
generic<typename TKey, typename TValue>
static Dictionary<TKey, TValue>^ ShallowCopy(
Dictionary<TKey, TValue>^ dictionary
)
static member ShallowCopy :
dictionary : Dictionary<'TKey, 'TValue> -> Dictionary<'TKey, 'TValue>
Parameters
- dictionary
- Type: System.Collections.GenericDictionaryTKey, TValue
Type Parameters
- TKey
- TValue
Return Value
Type:
DictionaryTKey,
TValueSee Also