ImmutableArray<T>.IImmutableList<T>.Remove Metoda

Definice

Vrátí pole s prvním výskytem zadaného prvku odebrán z pole; Pokud se nenajde žádná shoda, vrátí se aktuální pole.

 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, která se má z pole odebrat.

equalityComparer
IEqualityComparer<T>

Porovnávače rovnosti, který se má použít při hledání.

Návraty

Nové pole s odebranou hodnotou.

Implementuje

Poznámky

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

Platí pro