ISet<T>.Overlaps(IEnumerable<T>) メソッド

定義

現在のセットが指定したコレクションと重複しているかどうかを判断します。

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

パラメーター

other
IEnumerable<T>

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

返品

現在のセットと が少なくとも 1 つの共通要素を共有する場合は a0/&。それ以外の場合は

例外

othernullです。

注釈

other内の重複する要素はすべて無視されます。

適用対象