DictionaryExtensions.AddRange<TKey,TValue> Method

Definition

Add one dictionary content to the another dictionary

C#
public static void AddRange<TKey,TValue>(this System.Collections.Generic.IDictionary<TKey,TValue> target, System.Collections.Generic.IDictionary<TKey,TValue> source, bool forceUpdate = true);

Type Parameters

TKey

type of the dictionary argument key

TValue

type of the dictionary argument value

Parameters

target
IDictionary<TKey,TValue>

target dictionary

source
IDictionary<TKey,TValue>

source dictionary

forceUpdate
Boolean

whether we need to force update value

Applies to

Proizvod Verzije
Visual Studio SDK 2019, 2022