SortedSet<T>.UnionWith(IEnumerable<T>) Méthode

Définition

Modifie l’objet actuel SortedSet<T> de sorte qu’il contient tous les éléments présents dans l’objet actuel ou dans la collection spécifiée.

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))

Paramètres

other
IEnumerable<T>

Collection à comparer à l’objet actuel SortedSet<T> .

Implémente

Exceptions

other a la valeur null.

Remarques

Tous les éléments dupliqués sont other ignorés.

S’applique à