ImmutableSortedSet<T>.Union(IEnumerable<T>) メソッド

定義

この変更できない並べ替えられたセットに、指定された一連の項目を追加します。

public:
 System::Collections::Immutable::ImmutableSortedSet<T> ^ Union(System::Collections::Generic::IEnumerable<T> ^ other);
public System.Collections.Immutable.ImmutableSortedSet<T> Union (System.Collections.Generic.IEnumerable<T> other);
member this.Union : seq<'T> -> System.Collections.Immutable.ImmutableSortedSet<'T>
Public Function Union (other As IEnumerable(Of T)) As ImmutableSortedSet(Of T)

パラメーター

other
IEnumerable<T>

追加する項目。

戻り値

項目が追加された、新しいセット。すべての項目が既にセットにあった場合は、元のセット。

注釈

System.Collections.Immutable NuGet パッケージ

変更できないコレクションとインストール方法について

適用対象