ReadOnlySet<T>.ISet<T>.SymmetricExceptWith 方法

定义

修改当前集,使其仅包含当前集或指定集合中存在的元素,但不包含两者。

 virtual void System.Collections.Generic.ISet<T>.SymmetricExceptWith(System::Collections::Generic::IEnumerable<T> ^ other) = System::Collections::Generic::ISet<T>::SymmetricExceptWith;
void ISet<T>.SymmetricExceptWith (System.Collections.Generic.IEnumerable<T> other);
abstract member System.Collections.Generic.ISet<T>.SymmetricExceptWith : seq<'T> -> unit
override this.System.Collections.Generic.ISet<T>.SymmetricExceptWith : seq<'T> -> unit
Sub SymmetricExceptWith (other As IEnumerable(Of T)) Implements ISet(Of T).SymmetricExceptWith

参数

other
IEnumerable<T>

要与当前集进行比较的集合。

实现

适用于