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

Definice

Odebere zadanou hodnotu z tohoto seznamu.

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 položek v seznamu.

Parametry

list
IImmutableList<T>

Seznam, který chcete prohledat.

value
T

Hodnota, která se má odebrat.

Návraty

Nový neměnný seznam s odebraným prvkem nebo tento seznam, pokud prvek není v tomto seznamu.

Platí pro