語言

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> 介面時使用。

適用於