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

Définition

Modifie l'objet SortedSet<T> actuel afin qu'il contienne tous les éléments présents dans l'objet actif 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 SortedSet<T> actif.

Implémente

Exceptions

other a la valeur null.

Remarques

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

S’applique à