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

定義

判斷目前的不可變的已排序資料集與指定的集合是否共用通用項目。

public:
 virtual bool Overlaps(System::Collections::Generic::IEnumerable<T> ^ other);
public bool Overlaps (System.Collections.Generic.IEnumerable<T> other);
abstract member Overlaps : seq<'T> -> bool
override this.Overlaps : seq<'T> -> bool
Public Function Overlaps (other As IEnumerable(Of T)) As Boolean

參數

other
IEnumerable<T>

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

傳回

如果目前的資料集和 other 至少共用一個通用項目,則為 true,否則為 false

實作

備註

System.Collections.Immutable NuGet 套件

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

適用於