ImmutableList<T>.IImmutableList<T>.Remove Metoda

Definicja

Usuwa element z określoną wartością z listy.

 virtual System::Collections::Immutable::IImmutableList<T> ^ System.Collections.Immutable.IImmutableList<T>.Remove(T value, System::Collections::Generic::IEqualityComparer<T> ^ equalityComparer) = System::Collections::Immutable::IImmutableList<T>::Remove;
System.Collections.Immutable.IImmutableList<T> IImmutableList<T>.Remove (T value, System.Collections.Generic.IEqualityComparer<T> equalityComparer);
abstract member System.Collections.Immutable.IImmutableList<T>.Remove : 'T * System.Collections.Generic.IEqualityComparer<'T> -> System.Collections.Immutable.IImmutableList<'T>
override this.System.Collections.Immutable.IImmutableList<T>.Remove : 'T * System.Collections.Generic.IEqualityComparer<'T> -> System.Collections.Immutable.IImmutableList<'T>
Function Remove (value As T, equalityComparer As IEqualityComparer(Of T)) As IImmutableList(Of T) Implements IImmutableList(Of T).Remove

Parametry

value
T

Wartość elementu do usunięcia z listy.

equalityComparer
IEqualityComparer<T>

Moduł porównujący używany do porównywania elementów pod kątem równości.

Zwraca

ImmutableList<T> Nowy z określonym elementem został usunięty.

Implementuje

Uwagi

Ten element jest jawną implementacją członków. Można go używać tylko wtedy, gdy ImmutableList<T> wystąpienie jest rzutowe do interfejsu IImmutableList<T> .

Dotyczy