ImmutableSortedSet<T>.IImmutableSet<T>.Add(T) Método

Definição

Adiciona o elemento especificado a este conjunto imutável.

 virtual System::Collections::Immutable::IImmutableSet<T> ^ System.Collections.Immutable.IImmutableSet<T>.Add(T value) = System::Collections::Immutable::IImmutableSet<T>::Add;
System.Collections.Immutable.IImmutableSet<T> IImmutableSet<T>.Add (T value);
abstract member System.Collections.Immutable.IImmutableSet<T>.Add : 'T -> System.Collections.Immutable.IImmutableSet<'T>
override this.System.Collections.Immutable.IImmutableSet<T>.Add : 'T -> System.Collections.Immutable.IImmutableSet<'T>
Function Add (value As T) As IImmutableSet(Of T) Implements IImmutableSet(Of T).Add

Parâmetros

value
T

O elemento a ser adicionado.

Retornos

Um novo conjunto com o elemento adicionado ou esse conjunto se o elemento já está estiver nele.

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.Imutable

Sobre coleções imutáveis e como instalar

Aplica-se a