ImmutableList.Remove<T>(IImmutableList<T>, T) Metoda

Definicja

Usuwa określoną wartość z tej listy.

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

Parametry typu

T

Typ elementów na liście.

Parametry

list
IImmutableList<T>

Lista do wyszukania.

value
T

Wartość do usunięcia.

Zwraca

Nowa lista niezmienna z usuniętym elementem lub ta lista, jeśli element nie znajduje się na tej liście.

Dotyczy