Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

ImmutableDictionary<TKey, TValue>::IImmutableDictionary<TKey, TValue>::RemoveRange Method (IEnumerable<TKey>^)

 

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

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

private:
virtual IImmutableDictionary<TKey, TValue>^ RemoveRange(
	IEnumerable<TKey>^ keys
) sealed = IImmutableDictionary<TKey, TValue>::RemoveRange

Parameters

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

The keys of the elements to remove.

Return Value

Type: System.Collections.Immutable::IImmutableDictionary<TKey, TValue>^

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

This member is an explicit interface member implementation. It can be used only when the ImmutableDictionary<TKey, TValue> instance is cast to an IImmutableDictionary<TKey, TValue> interface.

Return to top
Show:
© 2017 Microsoft