共用方式為


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

定義

判斷目前的 System.Collections.Generic.HashSet'1 物件和指定的集合是否共用通用專案。

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

參數

other
IEnumerable<T>

要與目前雜湊集比較的集合。

傳回

true 如果雜湊集和其他共用至少一個通用元素,則為 ;否則為 false

實作

適用於