IImmutableSet<T>.Except(IEnumerable<T>) IImmutableSet<T>.Except(IEnumerable<T>) IImmutableSet<T>.Except(IEnumerable<T>) IImmutableSet<T>.Except(IEnumerable<T>) Method

定義

從目前的不可變資料集中,移除指定之集合內的項目。Removes the elements in the specified collection from the current immutable set.

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> IEnumerable<T> IEnumerable<T> IEnumerable<T>

要從此資料集移除的項目集合。The collection of items to remove from this set.

傳回

含有已移除項目的新資料集,如果資料集中沒有任何項目,則為原始的資料集。A new set with the items removed; or the original set if none of the items were in the set.

適用於