Share via


ObservableHashSet<T>.UnionWith(IEnumerable<T>) Method

Definition

Modifies the hash set to contain all elements that are present in itself, the specified collection, or both.

public virtual void UnionWith (System.Collections.Generic.IEnumerable<T> other);
abstract member UnionWith : seq<'T> -> unit
override this.UnionWith : seq<'T> -> unit
Public Overridable Sub UnionWith (other As IEnumerable(Of T))

Parameters

other
IEnumerable<T>

The collection to compare to the current hash set.

Implements

Applies to