IImmutableSet<T>.Except(IEnumerable<T>) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
從當前不變集合中移除指定集合中的元素。
public:
System::Collections::Immutable::IImmutableSet<T> ^ Except(System::Collections::Generic::IEnumerable<T> ^ other);
public System.Collections.Immutable.IImmutableSet<T> Except(System.Collections.Generic.IEnumerable<T> other);
abstract member Except : seq<'T> -> System.Collections.Immutable.IImmutableSet<'T>
Public Function Except (other As IEnumerable(Of T)) As IImmutableSet(Of T)
參數
- other
- IEnumerable<T>
這是要從這套中移除的物品集合。
傳回
新一組移除物品的套裝;如果套組裡沒有物品,則只能拿原版。