Freigeben über


DictionaryExtensions.AddRange<TKey,TValue> Methode

Definition

Hinzufügen eines Wörterbuchinhalts zum anderen Wörterbuch

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)

Typparameter

TKey

Typ des Wörterbuchargumentschlüssels

TValue

Typ des Wörterbuchargumentwerts

Parameter

target
IDictionary<TKey,TValue>

Zielwörterbuch

source
IDictionary<TKey,TValue>

Quellwörterbuch

forceUpdate
Boolean

Ob wir den Updatewert erzwingen müssen

Gilt für: