ImmutableSortedSet<T>.Except(IEnumerable<T>) 方法

定義

從這個不可變的已排序資料集中移除指定的項目資料集。

public:
 System::Collections::Immutable::ImmutableSortedSet<T> ^ Except(System::Collections::Generic::IEnumerable<T> ^ other);
public System.Collections.Immutable.ImmutableSortedSet<T> Except (System.Collections.Generic.IEnumerable<T> other);
member this.Except : seq<'T> -> System.Collections.Immutable.ImmutableSortedSet<'T>
Public Function Except (other As IEnumerable(Of T)) As ImmutableSortedSet(Of T)

參數

other
IEnumerable<T>

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

傳回

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

備註

System.Collections.Immutable NuGet 套件

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

適用於