Export (0) Print
Expand All

ImmutableDictionary<TKey, TValue>.RemoveRange Method

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

Namespace:  System.Collections.Immutable
Assembly:  System.Collections.Immutable (in System.Collections.Immutable.dll)

public ImmutableDictionary<TKey, TValue> RemoveRange(
	IEnumerable<TKey> keys
)

Parameters

keys
Type: System.Collections.Generic.IEnumerable<TKey>

The keys of the elements to remove.

Return Value

Type: System.Collections.Immutable.ImmutableDictionary<TKey, TValue>
A new immutable dictionary with the specified keys removed; or this instance if the specified keys cannot be found in the dictionary.

Show:
© 2014 Microsoft