ImmutableArray<T>.IImmutableList<T>.Remove(T, IEqualityComparer<T>) ImmutableArray<T>.IImmutableList<T>.Remove(T, IEqualityComparer<T>) ImmutableArray<T>.IImmutableList<T>.Remove(T, IEqualityComparer<T>) Method

Definition

Returns an array with the first occurrence of the specified element removed from the array; if no match is found, the current array is returned.

 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);
Function Remove (value As T, equalityComparer As IEqualityComparer(Of T)) As IImmutableList(Of T) Implements IImmutableList(Of T).Remove

Parameters

value
T T T

The value to remove from the array.

equalityComparer
IEqualityComparer<T> IEqualityComparer<T> IEqualityComparer<T>

The equality comparer to use in the search.

Returns

A new array with the value removed.

Implements

Remarks

This member is an explicit interface member implementation. It can be used only when the ImmutableArray<T> instance is cast to an IImmutableList<T> interface.

Applies to