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

Definition

Tar bort det angivna värdet från den här listan.

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)

Typparametrar

T

Typ av objekt i listan.

Parametrar

list
IImmutableList<T>

Listan som ska sökas.

value
T

Värdet som ska tas bort.

Returer

En ny oföränderlig lista med elementet borttaget, eller den här listan om elementet inte finns i den här listan.

Gäller för