- ExceptWith
- IntersectWith
- SymmetricExceptWith
- UnionWith
- IsProperSubsetOf
- IsProperSupersetOf
- IsSubsetOf
- IsSupersetOf
- Overlaps
- SetEquals
Overlaps
現在の集合が指定されたコレクションまたは配列と重複するかどうかを判断します。
ICollection<T>インターフェイスを実装するコレクションを扱うためのバージョン:
bool Overlaps(
|
配列を扱うためのバージョン:
bool Overlaps(
|
パラメータ
*collection
[in] 重複を判断するコレクション
&collection[]
[in] 重複を判断する配列
戻り値
現在の集合とコレクションまたは配列が重なっている場合はtrue、それ例外の場合はfalseを返します。