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>

현재 집합과 비교할 컬렉션입니다.

반환

현재 집합과 other가 적어도 하나의 공통 요소를 공유하면 true이고, 그렇지 않으면 false입니다.

예외

other이(가) null인 경우

설명

other 모든 중복 요소는 무시됩니다.

적용 대상