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

要检查的序列。

返回

如此 如果此集具有与其他元素共有的任何元素,则为 True;否则为 false。

适用于