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

Definición

Modifica el objeto actual SortedSet<T> para que contenga todos los elementos presentes en el objeto actual o en la colección especificada.

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

Parámetros

other
IEnumerable<T>

Colección que se va a comparar con el objeto actual SortedSet<T> .

Implementaciones

Excepciones

other es null.

Comentarios

Los elementos duplicados de other se omiten.

Se aplica a