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

 

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.

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 to remove from the array.

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

The equality comparer to use in the search.

Return Value

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

A new array with the value removed.

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.

Return to top
Show: