ImmutableList.RemoveRange<T> Метод

Определение

Удаляет указанные значения из этого списка.

public:
generic <typename T>
[System::Runtime::CompilerServices::Extension]
 static System::Collections::Immutable::IImmutableList<T> ^ RemoveRange(System::Collections::Immutable::IImmutableList<T> ^ list, System::Collections::Generic::IEnumerable<T> ^ items);
public static System.Collections.Immutable.IImmutableList<T> RemoveRange<T>(this System.Collections.Immutable.IImmutableList<T> list, System.Collections.Generic.IEnumerable<T> items);
static member RemoveRange : System.Collections.Immutable.IImmutableList<'T> * seq<'T> -> System.Collections.Immutable.IImmutableList<'T>
<Extension()>
Public Function RemoveRange(Of T) (list As IImmutableList(Of T), items As IEnumerable(Of T)) As IImmutableList(Of T)

Параметры типа

T

Тип элементов в списке.

Параметры

list
IImmutableList<T>

Список для поиска.

items
IEnumerable<T>

Элементы, которые нужно удалить, если совпадения найдены в этом списке.

Возвращаемое значение

Новый неизменяемый список с удаленными элементами.

Применяется к