語言

ImmutableHashSet<T>.Builder.UnionWith(IEnumerable<T>) 方法

定義

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

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

參數

other
IEnumerable<T>

用來和現有的系列做比較。

實作

適用於