ImmutableSortedSet<T>.Union(IEnumerable<T>) Método

Definición

Agrega un conjunto determinado de elementos a este conjunto ordenado inmutable.

public:
 System::Collections::Immutable::ImmutableSortedSet<T> ^ Union(System::Collections::Generic::IEnumerable<T> ^ other);
public System.Collections.Immutable.ImmutableSortedSet<T> Union (System.Collections.Generic.IEnumerable<T> other);
member this.Union : seq<'T> -> System.Collections.Immutable.ImmutableSortedSet<'T>
Public Function Union (other As IEnumerable(Of T)) As ImmutableSortedSet(Of T)

Parámetros

other
IEnumerable<T>

Los elementos que se van a agregar.

Devoluciones

Nuevo conjunto con elementos agregados; o conjunto original si todos los elementos ya se encontraban en el conjunto.

Comentarios

Paquete NuGet System.Collections.Immutable

Acerca de las colecciones inmutables y cómo instalar

Se aplica a