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

要与当前集进行比较的集合。

实现

适用于