ImmutableHashSet<T>.Except(IEnumerable<T>) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
從目前的不可變哈希集中移除指定集合中的專案。
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>
這是要從這套中移除的物品集合。
傳回
新一組移除物品的套裝;如果套組裡沒有物品,則只能拿原版。