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

Definice

Odebere prvek se zadanou hodnotou ze seznamu.

 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

Hodnota prvku, který se má ze seznamu odebrat.

equalityComparer
IEqualityComparer<T>

Porovnávače, který se má použít k porovnání prvků pro rovnost.

Návraty

Nový ImmutableList<T> s odebraným zadaným elementem.

Implementuje

Poznámky

Tento člen je explicitní implementace členu rozhraní. Lze jej použít pouze v ImmutableList<T> případě, že je instance přetypovaná na IImmutableList<T> rozhraní.

Platí pro