Sdílet prostřednictvím


DictionaryExtensions.AddRange<TKey,TValue> Metoda

Definice

Přidání obsahu jednoho slovníku do jiného slovníku

public static void AddRange<TKey,TValue> (this System.Collections.Generic.IDictionary<TKey,TValue> target, System.Collections.Generic.IDictionary<TKey,TValue> source, bool forceUpdate = true);
static member AddRange : System.Collections.Generic.IDictionary<'Key, 'Value> * System.Collections.Generic.IDictionary<'Key, 'Value> * bool -> unit
<Extension()>
Public Sub AddRange(Of TKey, TValue) (target As IDictionary(Of TKey, TValue), source As IDictionary(Of TKey, TValue), Optional forceUpdate As Boolean = true)

Parametry typu

TKey

typ klíče argumentu slovníku

TValue

typ hodnoty argumentu slovníku

Parametry

target
IDictionary<TKey,TValue>

cílový slovník

source
IDictionary<TKey,TValue>

zdrojový slovník

forceUpdate
Boolean

zda potřebujeme vynutit aktualizaci hodnoty

Platí pro