ImmutableList::RemoveRange<T> Method (IImmutableList<T>^, IEnumerable<T>^)

 

Removes the specified values from this list.

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

public:
generic<typename T>
[ExtensionAttribute]
static IImmutableList<T>^ RemoveRange(
	IImmutableList<T>^ list,
	IEnumerable<T>^ items
)

Parameters

list
Type: System.Collections.Immutable::IImmutableList<T>^

The list to search.

items
Type: System.Collections.Generic::IEnumerable<T>^

The items to remove if matches are found in this list.

Return Value

Type: System.Collections.Immutable::IImmutableList<T>^

A new immutable list with the elements removed.

Type Parameters

T

The type of items in the list.

Return to top
Show: