ImmutableHashSet<T>.Intersect(IEnumerable<T>) メソッド
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
このセットと指定したセットの両方に存在する要素を含む変更できないハッシュ セットを作成します。
public:
System::Collections::Immutable::ImmutableHashSet<T> ^ Intersect(System::Collections::Generic::IEnumerable<T> ^ other);
public System.Collections.Immutable.ImmutableHashSet<T> Intersect(System.Collections.Generic.IEnumerable<T> other);
member this.Intersect : seq<'T> -> System.Collections.Immutable.ImmutableHashSet<'T>
Public Function Intersect (other As IEnumerable(Of T)) As ImmutableHashSet(Of T)
パラメーター
- other
- IEnumerable<T>
現在のセットと比較するコレクション。
返品
両方のセットに存在する要素を含む新しい変更できないセット。