共用方式為


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 的相等比較子。

傳回

已移除指定物件的新清單。

適用於