ImmutableSortedSet<T>.Builder.SymmetricExceptWith(IEnumerable<T>) ImmutableSortedSet<T>.Builder.SymmetricExceptWith(IEnumerable<T>) ImmutableSortedSet<T>.Builder.SymmetricExceptWith(IEnumerable<T>) ImmutableSortedSet<T>.Builder.SymmetricExceptWith(IEnumerable<T>) Method

定义

修改当前集,使该集仅包含存在于当前集或指定集合中的元素(但不同时存在于两者中)。Modifies the current set so that it contains only elements that are present either in the current set or in the specified collection, but not both.

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

参数

other
IEnumerable<T> IEnumerable<T> IEnumerable<T> IEnumerable<T>

要与当前集进行比较的集合。The collection to compare to the current set.

实现

适用于