ImmutableSortedSet<T>::IImmutableSet<T>::SymmetricExcept Method (IEnumerable<T>^)

 

Creates an immutable set that contains only elements that are present either in the current set or in the specified collection, but not both.

Namespace:   System.Collections.Immutable
Assembly:  System.Collections.Immutable (in System.Collections.Immutable.dll)

private:
virtual IImmutableSet<T>^ SymmetricExcept(
	IEnumerable<T>^ other
) sealed = IImmutableSet<T>::SymmetricExcept

Parameters

other
Type: System.Collections.Generic::IEnumerable<T>^

The collection to compare to the current set.

Return Value

Type: System.Collections.Immutable::IImmutableSet<T>^

A new set that contains the elements that are present only in the current set or in the specified collection, but not both.

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

NuGet package: System.Collections.Immutable (about immutable collections and how to install)

Return to top
Show: