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

Définition

Supprime la valeur spécifiée dans cette liste.Removes the specified value from this list.

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)

Paramètres de type

T

Type des éléments de la liste.The type of items in the list.

Paramètres

list
IImmutableList<T> IImmutableList<T> IImmutableList<T> IImmutableList<T>

Liste à rechercher.The list to search.

value

Valeur à supprimer.The value to remove.

Retours

Nouvelle liste immuable avec l’élément supprimé, ou cette liste si l’élément n’est pas dans cette liste.A new immutable list with the element removed, or this list if the element is not in this list.

S’applique à