# ImmutableHashSet<T>.IImmutableSet<T>.SymmetricExcept(IEnumerable<T>) Method

## Definition

현재 집합과 지정된 컬렉션 둘 중 하나에만 있는 요소만 포함하는 변경할 수 없는 집합을 만듭니다.Creates an immutable set that contains only elements that are present either in the current set or in the specified collection, but not both.

`` virtual System::Collections::Immutable::IImmutableSet<T> ^ System.Collections.Immutable.IImmutableSet<T>.SymmetricExcept(System::Collections::Generic::IEnumerable<T> ^ other) = System::Collections::Immutable::IImmutableSet<T>::SymmetricExcept;``
``System.Collections.Immutable.IImmutableSet<T> IImmutableSet<T>.SymmetricExcept (System.Collections.Generic.IEnumerable<T> other);``
``````abstract member System.Collections.Immutable.IImmutableSet<T>.SymmetricExcept : seq<'T> -> System.Collections.Immutable.IImmutableSet<'T>
override this.System.Collections.Immutable.IImmutableSet<T>.SymmetricExcept : seq<'T> -> System.Collections.Immutable.IImmutableSet<'T>``````
``Function SymmetricExcept (other As IEnumerable(Of T)) As IImmutableSet(Of T) Implements IImmutableSet(Of T).SymmetricExcept``

#### Parameters

other
IEnumerable<T>

현재 집합과 비교할 컬렉션입니다.The collection to compare to the current set.

#### Returns

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.

## Remarks

이 멤버는 명시적인 인터페이스 멤버 구현입니다.This member is an explicit interface member implementation. ImmutableHashSet<T> 인스턴스가 IImmutableSet<T> 인터페이스로 캐스팅된 경우에만 사용할 수 있습니다.It can be used only when the ImmutableHashSet<T> instance is cast to an IImmutableSet<T> interface.