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

Definição

Modifica o objeto atual SortedSet<T> para que contenha todos os elementos presentes no objeto atual ou na coleção 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>

A coleção para comparar com o objeto atual SortedSet<T> .

Implementações

Exceções

other é null.

Observações

Quaisquer elementos duplicados em other são ignorados.

Aplica-se a