ImmutableHashSet<T>.IImmutableSet<T>.SymmetricExcept(IEnumerable<T>) Método

Definição

Cria um conjunto imutável que contém somente os elementos que estão presentes no conjunto atual ou na coleção especificada, mas não em ambos.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

Parâmetros

other
IEnumerable<T>

A coleção a ser comparada com o conjunto atual.The collection to compare to the current set.

Retornos

IImmutableSet<T>

Um novo conjunto que contém os elementos que estão presentes somente no conjunto atual ou na coleção especificada, mas não em ambos.A new set that contains the elements that are present only in the current set or in the specified collection, but not both.

Implementações

Comentários

Este membro é uma implementação do membro de interface explícita.This member is an explicit interface member implementation. Ele só pode ser usado quando a instância de ImmutableHashSet<T> é convertida em uma interface de IImmutableSet<T>.It can be used only when the ImmutableHashSet<T> instance is cast to an IImmutableSet<T> interface.

Aplica-se a