Condividi tramite


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

Definizione

Aggiunge un set specificato di elementi a questo set ordinato non modificabile.

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)

Parametri

other
IEnumerable<T>

Elementi da aggiungere.

Restituisce

Nuovo set con gli elementi aggiunti; o il set originale se tutti gli elementi erano già presenti nel set.

Si applica a