你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

IDictionaryExtensions.AddRange<TKey,TValue> 方法

定义

public static void AddRange<TKey,TValue> (this System.Collections.Generic.IDictionary<TKey,TValue> dictionary, System.Collections.Generic.IReadOnlyDictionary<TKey,TValue> other);
static member AddRange : System.Collections.Generic.IDictionary<'Key, 'Value> * System.Collections.Generic.IReadOnlyDictionary<'Key, 'Value> -> unit
<Extension()>
Public Sub AddRange(Of TKey, TValue) (dictionary As IDictionary(Of TKey, TValue), other As IReadOnlyDictionary(Of TKey, TValue))

类型参数

TKey
TValue

参数

dictionary
IDictionary<TKey,TValue>
other
IReadOnlyDictionary<TKey,TValue>

适用于