DictionaryExtensions.AddRange<TKey,TValue> Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Add one dictionary content to the another dictionary
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)
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