IImmutableList<T>.Remove(T, IEqualityComparer<T>) 方法

定义

从此不可变列表中移除指定对象的第一个匹配项。

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)

参数

value
T

要从列表中移除的对象。

equalityComparer
IEqualityComparer<T>

用于查找 value 的相等性比较器。

返回

删除了指定对象的新列表。

适用于