IImmutableDictionary<TKey,TValue>.RemoveRange 方法

定義

將具有指定之索引鍵的項目從不可變的字典移除。

public:
 System::Collections::Immutable::IImmutableDictionary<TKey, TValue> ^ RemoveRange(System::Collections::Generic::IEnumerable<TKey> ^ keys);
public System.Collections.Immutable.IImmutableDictionary<TKey,TValue> RemoveRange (System.Collections.Generic.IEnumerable<TKey> keys);
abstract member RemoveRange : seq<'Key> -> System.Collections.Immutable.IImmutableDictionary<'Key, 'Value>
Public Function RemoveRange (keys As IEnumerable(Of TKey)) As IImmutableDictionary(Of TKey, TValue)

參數

keys
IEnumerable<TKey>

要移除之項目的索引鍵。

傳回

已移除指定之索引鍵的新不可變字典,如果在字典中找不到指定的索引鍵,則為此執行個體。

適用於