語言

ObservableHashSet<T>.UnionWith(IEnumerable<T>) 方法

定義

修改雜湊集,使其包含自身、指定集合中或兩者中所有元素。

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

參數

other
IEnumerable<T>

這個集合用來與目前的雜湊集比較。

實作

適用於