IImmutableSet<T>.Overlaps(IEnumerable<T>) IImmutableSet<T>.Overlaps(IEnumerable<T>) IImmutableSet<T>.Overlaps(IEnumerable<T>) IImmutableSet<T>.Overlaps(IEnumerable<T>) Method

정의

현재 변경할 수 없는 집합이 지정된 컬렉션과 겹치는지 여부를 확인합니다.Determines whether the current immutable set overlaps with the specified collection.

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> IEnumerable<T> IEnumerable<T> IEnumerable<T>

현재 집합과 비교할 컬렉션입니다.The collection to compare to the current set.

반환

현재 집합과 지정된 컬렉션이 하나 이상 공통 요소를 공유하면 true이고, 그렇지 않으면 false입니다.true if the current set and the specified collection share at least one common element; otherwise, false.

적용 대상