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

Definicja

Dodaje dany zestaw elementów do tego niezmienialnego zestawu posortowanego.

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>

Elementy do dodania.

Zwraca

Nowy zestaw z dodanymi elementami; lub oryginalny zestaw, jeśli wszystkie elementy były już w zestawie.

Uwagi

System.Collections.Niezmienny pakiet NuGet

Informacje o niezmiennych kolekcjach i sposobie instalowania

Dotyczy