ISet<T>.UnionWith(IEnumerable<T>) メソッド

定義

現在のセット、指定したコレクション、またはその両方に存在するすべての要素が含まれるように、現在のセットを変更します。

public:
 void UnionWith(System::Collections::Generic::IEnumerable<T> ^ other);
public void UnionWith(System.Collections.Generic.IEnumerable<T> other);
abstract member UnionWith : seq<'T> -> unit
Public Sub UnionWith (other As IEnumerable(Of T))

パラメーター

other
IEnumerable<T>

現在のセットと比較するコレクション。

例外

othernullです。

注釈

other内の重複する要素はすべて無視されます。

適用対象