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.
ImmutableList<T>::IImmutableList<T>::RemoveRange Method (IEnumerable<T>^, IEqualityComparer<T>^)
Removes a range of elements from this immutable list that match the items specified.
Assembly: System.Collections.Immutable (in System.Collections.Immutable.dll)
private: virtual IImmutableList<T>^ RemoveRange( IEnumerable<T>^ items, IEqualityComparer<T>^ equalityComparer ) sealed = IImmutableList<T>::RemoveRange
Parameters
- items
-
Type:
System.Collections.Generic::IEnumerable<T>^
The range of items to remove from the list, if found.
- equalityComparer
-
Type:
System.Collections.Generic::IEqualityComparer<T>^
The equality comparer to use to compare elements.
Return Value
Type: System.Collections.Immutable::IImmutableList<T>^An immutable list with the items removed.
| Exception | Condition |
|---|---|
| ArgumentNullException | items or equalityComparer is null. |
This member is an explicit interface member implementation. It can be used only when the ImmutableList<T> instance is cast to an IImmutableList<T> interface.
Show: