IReadOnlySet.Overlaps(IEnumerable) 方法

定義

檢查這組是否有與其他元素的共通點。

public bool Overlaps(System.Collections.IEnumerable other);
abstract member Overlaps : System.Collections.IEnumerable -> bool
Public Function Overlaps (other As IEnumerable) As Boolean

參數

other
IEnumerable

要檢查的序列。

傳回

若此集合與其他集合有任何共同元素,則為真;否則為假。

適用於