ImmutableHashSet<T>.IImmutableSet<T>.Intersect メソッド

定義

このセットと指定されたセットの両方に存在する要素を含む、変更できないセットを作成します。

 virtual System::Collections::Immutable::IImmutableSet<T> ^ System.Collections.Immutable.IImmutableSet<T>.Intersect(System::Collections::Generic::IEnumerable<T> ^ other) = System::Collections::Immutable::IImmutableSet<T>::Intersect;
System.Collections.Immutable.IImmutableSet<T> IImmutableSet<T>.Intersect (System.Collections.Generic.IEnumerable<T> other);
abstract member System.Collections.Immutable.IImmutableSet<T>.Intersect : seq<'T> -> System.Collections.Immutable.IImmutableSet<'T>
override this.System.Collections.Immutable.IImmutableSet<T>.Intersect : seq<'T> -> System.Collections.Immutable.IImmutableSet<'T>
Function Intersect (other As IEnumerable(Of T)) As IImmutableSet(Of T) Implements IImmutableSet(Of T).Intersect

パラメーター

other
IEnumerable<T>

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

戻り値

両方のセットに存在するすべての要素を含む、新しい変更できないセット。

実装

注釈

このメンバーは、明示的なインターフェイス メンバーの実装です。 これは、ImmutableHashSet<T> のインスタンスが IImmutableSet<T> インターフェイスにキャストされる場合のみ、使用できます。

適用対象