ImmutableSortedSet<T>.IImmutableSet<T>.SymmetricExcept Método
Definição
Importante
Algumas informações se referem a produtos de pré-lançamento que podem ser substancialmente modificados antes do lançamento. A Microsoft não oferece garantias, expressas ou implícitas, das informações aqui fornecidas.
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.
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.
Retornos
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.
Implementações
Comentários
Este membro é uma implementação do membro de interface explícita. Ele só pode ser usado quando a instância de ImmutableSortedSet<T> é convertida em uma interface de IImmutableSet<T>.
Pacote NuGet System.Collections.Immutable
Sobre coleções imutáveis e como instalar
Aplica-se a
Comentários
https://aka.ms/ContentUserFeedback.
Em breve: Ao longo de 2024, eliminaremos os problemas do GitHub como o mecanismo de comentários para conteúdo e o substituiremos por um novo sistema de comentários. Para obter mais informações, consulteEnviar e exibir comentários de