ImmutableSortedSet<T>.IImmutableSet<T>.Except 方法

定義

從目前的不可變資料集中,移除指定之集合內的項目。

 virtual System::Collections::Immutable::IImmutableSet<T> ^ System.Collections.Immutable.IImmutableSet<T>.Except(System::Collections::Generic::IEnumerable<T> ^ other) = System::Collections::Immutable::IImmutableSet<T>::Except;
System.Collections.Immutable.IImmutableSet<T> IImmutableSet<T>.Except (System.Collections.Generic.IEnumerable<T> other);
abstract member System.Collections.Immutable.IImmutableSet<T>.Except : seq<'T> -> System.Collections.Immutable.IImmutableSet<'T>
override this.System.Collections.Immutable.IImmutableSet<T>.Except : seq<'T> -> System.Collections.Immutable.IImmutableSet<'T>
Function Except (other As IEnumerable(Of T)) As IImmutableSet(Of T) Implements IImmutableSet(Of T).Except

參數

other
IEnumerable<T>

要從此資料集中移除的項目。

傳回

已移除項目的新資料集,如果資料集中沒有任何項目,則為原始的資料集。

實作

備註

這個成員是明確介面成員實作, 只有在 ImmutableSortedSet<T> 執行個體轉換成 IImmutableSet<T> 介面時,才能使用這個成員。

System.Collections.Immutable NuGet 套件

關於不可變集合以及如何安裝

適用於