ImmutableSortedSet<T>.ISet<T>.ExceptWith 方法
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
从当前集内移除指定集合中的所有元素。
virtual void System.Collections.Generic.ISet<T>.ExceptWith(System::Collections::Generic::IEnumerable<T> ^ other) = System::Collections::Generic::ISet<T>::ExceptWith;
C#
void ISet<T>.ExceptWith(System.Collections.Generic.IEnumerable<T> other);
abstract member System.Collections.Generic.ISet<T>.ExceptWith : seq<'T> -> unit
override this.System.Collections.Generic.ISet<T>.ExceptWith : seq<'T> -> unit
Sub ExceptWith (other As IEnumerable(Of T)) Implements ISet(Of T).ExceptWith
- other
- IEnumerable<T>
要从集内移除的项的集合。
此成员是显式接口成员的实现。 它只能在 ImmutableSortedSet<T> 实例被强制转换为 ISet<T> 接口时使用。
System.Collections.Immutable NuGet 包
产品 | 版本 |
---|---|
.NET | Core 1.0, Core 1.1, Core 2.0, Core 2.1, Core 2.2, Core 3.0, Core 3.1, 5, 6, 7, 8 (package-provided), 8, 9 (package-provided), 9, 10 (package-provided), 10 |
.NET Standard | 2.0 (package-provided) |
UWP | 10.0 |