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

Definition

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.

 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

Parameters

other
IEnumerable<T>

The collection to compare to the current set.

Implements

Remarks

This member is an explicit interface member implementation. It can be used only when the ImmutableSortedSet<T> instance is cast to an ISet<T> interface.

System.Collections.Immutable NuGet package

About immutable collections and how to install

Applies to