ReadOnlySet<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>

現在のセットと比較するコレクション。

戻り値

現在のセットとその他のセットが少なくとも 1 つの共通要素を共有している場合に trueします。それ以外の場合は、falseします。

実装

適用対象