ImmutableList<T>::IImmutableList<T>::Remove Method (T, IEqualityComparer<T>^)

 

Removes the element with the specified value from the list.

Namespace:   System.Collections.Immutable
Assembly:  System.Collections.Immutable (in System.Collections.Immutable.dll)

private:
virtual IImmutableList<T>^ Remove(
	T value,
	IEqualityComparer<T>^ equalityComparer
) sealed = IImmutableList<T>::Remove

Parameters

value
Type: T

The value of the element to remove from the list.

equalityComparer
Type: System.Collections.Generic::IEqualityComparer<T>^

The comparer to use to compare elements for equality.

Return Value

Type: System.Collections.Immutable::IImmutableList<T>^

Returns a new ImmutableList<T> with the specified element removed.

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

Return to top
Show: