IImmutableSet<T>.IsProperSupersetOf(IEnumerable<T>) 方法

定義

判斷目前的不可變資料集是否為指定集合的完全 (嚴格) 超集合。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>

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

傳回

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

備註

如果目前的集合是 other 的適當超集合,則目前的集合至少必須有一個 @no__t 為-1 的元素。If the current set is a proper superset of other, the current set must have at least one element that other does not have.

適用於