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

Definición

Modifica el objeto SortedSet<T> actual para que contenga todos los elementos que están 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 SortedSet<T> actual.

Implementaciones

Excepciones

other es null.

Comentarios

Se omiten los elementos duplicados de other .

Se aplica a