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

Definição

Adiciona o elemento especificado a este conjunto imutável.

public:
 System::Collections::Immutable::IImmutableSet<T> ^ Add(T value);
public System.Collections.Immutable.IImmutableSet<T> Add(T value);
abstract member Add : 'T -> System.Collections.Immutable.IImmutableSet<'T>
Public Function Add (value As T) As IImmutableSet(Of T)

Parâmetros

value
T

O elemento a acrescentar.

Devoluções

Um novo conjunto com o elemento adicionado, ou este conjunto se o elemento já estiver no conjunto.

Aplica-se a