ImmutableList<T>.IImmutableList<T>.Remove 方法

定义

从列表中删除具有指定值的元素。

 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);
abstract member System.Collections.Immutable.IImmutableList<T>.Remove : 'T * System.Collections.Generic.IEqualityComparer<'T> -> System.Collections.Immutable.IImmutableList<'T>
override this.System.Collections.Immutable.IImmutableList<T>.Remove : 'T * System.Collections.Generic.IEqualityComparer<'T> -> System.Collections.Immutable.IImmutableList<'T>
Function Remove (value As T, equalityComparer As IEqualityComparer(Of T)) As IImmutableList(Of T) Implements IImmutableList(Of T).Remove

参数

value
T

要从列表中删除的元素的值。

equalityComparer
IEqualityComparer<T>

用于比较元素相等性的比较器。

返回

ImmutableList<T>删除指定元素的新元素。

实现

注解

此成员是显式接口成员实现。 仅当实例强制转换为ImmutableList<T>接口时IImmutableList<T>,才能使用它。

适用于