ReadOnlySet<T>.ISet<T>.UnionWith(IEnumerable<T>) 方法

定義

修改目前的集合,使其包含目前集合、指定集合或兩者中存在的所有專案。

 virtual void System.Collections.Generic.ISet<T>.UnionWith(System::Collections::Generic::IEnumerable<T> ^ other) = System::Collections::Generic::ISet<T>::UnionWith;
void ISet<T>.UnionWith (System.Collections.Generic.IEnumerable<T> other);
abstract member System.Collections.Generic.ISet<T>.UnionWith : seq<'T> -> unit
override this.System.Collections.Generic.ISet<T>.UnionWith : seq<'T> -> unit
Sub UnionWith (other As IEnumerable(Of T)) Implements ISet(Of T).UnionWith

參數

other
IEnumerable<T>

要與目前集合比較的集合。

實作

適用於