編集

次の方法で共有


ImmutableSortedDictionary<TKey,TValue>.RemoveRange Method

Definition

Removes the elements with the specified keys from the immutable sorted dictionary.

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

Parameters

keys
IEnumerable<TKey>

The keys of the elements to remove.

Returns

A new immutable dictionary with the specified keys removed; or this instance if the specified keys cannot be found in the dictionary.

Applies to