ImmutableSortedSet<T>.ISet<T>.IntersectWith 方法

定義

修改目前的資料集,使其僅包含同時也在指定之集合中出現的項目。

 virtual void System.Collections.Generic.ISet<T>.IntersectWith(System::Collections::Generic::IEnumerable<T> ^ other) = System::Collections::Generic::ISet<T>::IntersectWith;
void ISet<T>.IntersectWith (System.Collections.Generic.IEnumerable<T> other);
abstract member System.Collections.Generic.ISet<T>.IntersectWith : seq<'T> -> unit
override this.System.Collections.Generic.ISet<T>.IntersectWith : seq<'T> -> unit
Sub IntersectWith (other As IEnumerable(Of T)) Implements ISet(Of T).IntersectWith

參數

other
IEnumerable<T>

要與目前資料組比較的集合。

實作

備註

這個成員是明確介面成員實作, 只有在 ImmutableSortedSet<T> 執行個體轉換成 ISet<T> 介面時,才能使用這個成員。

System.Collections.Immutable NuGet 套件

關於不可變的集合以及如何安裝

適用於