ISet<T>.IsProperSupersetOf(IEnumerable<T>) 메서드

정의

현재 집합이 지정된 컬렉션의 적절한(고급) 하위 집합인지 여부를 확인합니다.

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

매개 변수

other
IEnumerable<T>

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

반환

현재 집합이 other의 적절한 상위 집합이면 true이고, 그렇지 않으면 false입니다.

예외

other이(가) null인 경우

설명

현재 집합이 의 other적절한 상위 집합인 경우 현재 집합에는 없는 요소가 other 하나 이상 있어야 합니다.

빈 집합은 다른 컬렉션의 적절한 상위 집합입니다. 따라서 이 메서드는 현재 집합도 비어 있지 않으면 매개 변수가 other 나타내는 컬렉션이 비어 있으면 를 반환 true 합니다.

현재 집합의 요소 수가 의 요소 수other보다 작거나 같은 경우 이 메서드는 항상 를 반환 false 합니다.

적용 대상