ImmutableSortedSet<T>.Union(IEnumerable<T>) Metoda

Definice

Přidá danou sadu položek do této neměnné seřazené sady.

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)

Parametry

other
IEnumerable<T>

Položky, které chcete přidat.

Návraty

Nová sada s přidanými položkami; nebo původní sadu, pokud už byly všechny položky v sadě.

Poznámky

Balíček NuGet System.Collections.Immutable

Informace o neměnných kolekcích a postupu instalace

Platí pro