ImmutableSortedSet<T>.Intersect(IEnumerable<T>) 方法

定義

建立不可變的已排序資料集,其中包含存在於這個資料集和指定之資料集中的項目。

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

參數

other
IEnumerable<T>

要與這個資料集交集的資料集。

傳回

新的不可變的已排序資料集,其中包含同時存在於這兩個資料集中的任何項目。

備註

System.Collections.Immutable NuGet 套件

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

適用於