SortedSet<T>.UnionWith(IEnumerable<T>) Metoda

Definicja

Modyfikuje bieżący SortedSet<T> obiekt tak, aby zawierał wszystkie elementy, które znajdują się w bieżącym obiekcie lub określonej kolekcji.

public:
 virtual void UnionWith(System::Collections::Generic::IEnumerable<T> ^ other);
public void UnionWith (System.Collections.Generic.IEnumerable<T> other);
abstract member UnionWith : seq<'T> -> unit
override this.UnionWith : seq<'T> -> unit
Public Sub UnionWith (other As IEnumerable(Of T))

Parametry

other
IEnumerable<T>

Kolekcja do porównania z bieżącym SortedSet<T> obiektem.

Implementuje

Wyjątki

other to null.

Uwagi

Wszystkie zduplikowane elementy w programie other są ignorowane.

Dotyczy