Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

ImmutableHashSet<T>.IImmutableSet<T>.SymmetricExcept Method

.NET Framework 4.5

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)
IImmutableSet<T> IImmutableSet<T>.SymmetricExcept(
	IEnumerable<T> other
)

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.

Implements

IImmutableSet<T>.SymmetricExcept(IEnumerable<T>)

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

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.