ImmutableList.RemoveRange<T> Yöntem

Tanım

Belirtilen değerleri bu listeden kaldırır.

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ür Parametreleri

T

Listedeki öğelerin türü.

Parametreler

list
IImmutableList<T>

Aranacak liste.

items
IEnumerable<T>

Eşleşmeler bu listede bulunursa kaldırılacak öğeler.

Döndürülenler

Öğelerin kaldırıldığı yeni bir sabit liste.

Şunlara uygulanır