ImmutableDictionary<TKey,TValue>.RemoveRange 方法

定义

从不可变字典中移除具有指定键的元素。

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

参数

keys
IEnumerable<TKey>

要移除的元素的键。

返回

已移除指定键的新不可变字典;如果在字典中找不到指定的键,则为此实例。

适用于