Editare

Partajați prin


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

Definition

Removes the first occurrence of a specified object from this immutable list.

public:
 System::Collections::Immutable::IImmutableList<T> ^ Remove(T value, System::Collections::Generic::IEqualityComparer<T> ^ equalityComparer);
public System.Collections.Immutable.IImmutableList<T> Remove (T value, System.Collections.Generic.IEqualityComparer<T> equalityComparer);
public System.Collections.Immutable.IImmutableList<T> Remove (T value, System.Collections.Generic.IEqualityComparer<T>? equalityComparer);
abstract member Remove : 'T * System.Collections.Generic.IEqualityComparer<'T> -> System.Collections.Immutable.IImmutableList<'T>
Public Function Remove (value As T, equalityComparer As IEqualityComparer(Of T)) As IImmutableList(Of T)

Parameters

value
T

The object to remove from the list.

equalityComparer
IEqualityComparer<T>

The equality comparer to use to locate value.

Returns

A new list with the specified object removed.

Applies to