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

Definición

Agrega el elemento especificado a este conjunto inmutable.

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

Elemento que se va a agregar.

Devoluciones

Nuevo conjunto con el elemento agregado o este conjunto si el elemento ya está en el conjunto.

Se aplica a