แก้ไข

แชร์ผ่าน


FrozenSet<T>.ISet<T>.UnionWith(IEnumerable<T>) Method

Definition

Modifies the current set so that it contains all elements that are present in the current set, in the specified collection, or in both.

 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

Parameters

other
IEnumerable<T>

The collection to compare to the current set.

Implements

Applies to