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>

要从此集中删除的项的集合。

返回

删除了项的新集;或原始集(如果集中没有项)。

适用于