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

定義

判斷目前的不可變資料集是否為指定集合的完全 (嚴格) 超集合。Determines whether the current immutable set is a proper (strict) superset of the specified collection.

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

要與目前資料組比較的集合。The collection to compare to the current set.

傳回

如果目前的資料集為指定集合的完全超集合,則為 true,否則為 false。true if the current set is a proper superset of the specified collection; otherwise, false.

備註

如果目前的資料集的完全超集合other,目前的資料集必須有至少一個元素,other並沒有。If the current set is a proper superset of other, the current set must have at least one element that other does not have.

適用於