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

定義

從目前的不可變雜湊集,移除指定集合中的項目。

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

參數

other
IEnumerable<T>

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

傳回

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

適用於